-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Build support for Windows code signing #203
Comments
Original comment by Anthony Tuininga (Bitbucket: anthony_tuininga, GitHub: Unknown): If you can create a pull request for this based on the equivalent Mac code I'd be happy to integrate it. I have no real way of testing the code as I am not a Windows developer. |
A "fix"/enhancement for that would be welcome too! ☺ |
I would use this as well, and would not mind writing the PR. Doesn't seem too difficult to implement a shell out but If there is someone that can help me navigate the cx_freeze code base it would be appreciated, I am pretty unfamiliar with the project. |
Looks like this has been idle for some time. I did find a work-around for anyone else who happens across this:
|
It worked like charm ,thank you |
Originally reported by: Micah Lee (Bitbucket: micahflee, GitHub: micahflee)
Right now cx_Freeze already supports Apple code signing with the bdist_mac command, but there's no support for Microsoft Authenticode code signing. Right now, in Windows, if you run
python setup.py build
it creates unsigned .exe files, and if you runpython setup.py bdist_msi
it creates unsigned .exe files, and then it packages them inside of an unsigned .msi file. As far as I can tell, there's no way to actually code sign the .exe files if you want to use cx_Freeze's feature to build a .msi.It would be great if there were bdist_msi options for code signing using Microsoft's
codesign.exe
tool: https://msdn.microsoft.com/en-us/library/8s9b9yaz(v=vs.110).aspxIf the options are present, it just needs to subprocess out to:
signtool.exe sign /v /d [software name] /a /tr [timestamp server url] /fd sha256 [path to .exe or .msi]
each time it builds a Windows executable.The text was updated successfully, but these errors were encountered: