crabnebula-dev / cargo-packager

Rust executable packager, bundler and updater.
https://docs.crabnebula.dev/packager/
Apache License 2.0
241 stars 16 forks source link

Windows Codesigning isn't working #275

Closed decipher3114 closed 1 hour ago

decipher3114 commented 3 weeks ago

I generated a codesigning certificate with all necessary fields filled correctly. Then I secured it with a password and generated the pfx key. I extracted the Private key file .pem and then run cargo packager --release --formats wix --private-key Certificate.pem --password $password -vvv

This is the error. 2024-09-08T07:57:45.380984Z ERROR E:\Rust\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cargo-packager-0.10.3\src\cli\mod.rs:261: Invalid symbol 32, offset 3.