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.
Say I want to release a production build.
cargo wdk buildalways signs it with the test cert:windows-drivers-rs/crates/cargo-wdk/src/actions/build/package_task.rs
Lines 241 to 250 in f1cf7f9
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.