-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support skipping SHA1 signing #19
Conversation
Do you want me to add this param to the CLI tool, too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, super supportive of the change! I don't think we need a CLI option, the option itself is good enough for me.
I'd only prefer to keep the type the same but otherwise this can go out!
So you'd rather use |
Friendly bump: what needs to be changed here to get the PR merged? |
@MarshallOfSound anything I can do here to get this merged? |
I am eagerly awaiting merging of this pull request. After updating electron-forge I'm unable to sign my MSIs, which apparently doesn't support multiple signatures. This change will let me work around my problem. |
Please can someone accept and merge this PR - im stuck unable to sign MSI's because of this |
Please can someone accept and merge this PR |
Hey @mceachen. Thank you for your PR! I think what @felixrieseberg is trying to express is: just remove In the windows-sign code,
Therefore, there is no either-or question, as one is aimed at developers and the other is focused on internal code logic; both are indispensable :) |
Done! I also merged with upstream main and resolved conflicts. @felixrieseberg @MarshallOfSound if there's anything else I need to do to get this merged, please holler. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. PTAL @felixrieseberg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, merging!
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR just saved me a ton of work. Thank you, @mceachen! |
Howdy! Thanks for this package!
Codesigning for my project is quite slow due to the number of .DLLs I need to include. It seems that SHA1 signatures are ignored ever since WIndows 7, and SHA256 is recommended by Microsoft.
Have you considered allowing consumers skip SHA1 signatures?
This patch allows an optional
hash
to be specified in the options array. It halves my signing time (which takes upwards of 10 minutes otherwise).Feel free to tweak to taste. I tried to maintain consistency with existing code.
(BTW, if you switched your descriptive comments in your interfaces to jsdoc (use
/** message */
instead of// message
) your consumers get to see those comments inline).