Skip to content

cargo wdk build: Skip signtool #588

@justanotheranonymoususer

Description

Say I want to release a production build. cargo wdk build always signs it with the test cert:

self.run_signtool_sign(
&self.dest_driver_binary_path,
WDR_TEST_CERT_STORE,
WDR_LOCAL_TEST_CERT,
)?;
self.run_signtool_sign(
&self.dest_cat_file_path,
WDR_TEST_CERT_STORE,
WDR_LOCAL_TEST_CERT,
)?;

But in case of a production build, I don't want the test signature. I want the sys file without it, so that I can go and submit it for MS to sign.

Add an option to skip running signtool with cargo wdk build.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions