Skip to content
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

Codesign failure in AppVeyor Release builds #45

Closed
alranel opened this issue Oct 26, 2017 · 2 comments
Closed

Codesign failure in AppVeyor Release builds #45

alranel opened this issue Oct 26, 2017 · 2 comments
Labels

Comments

@alranel
Copy link
Member

alranel commented Oct 26, 2017

When building with the Release configuration in AppVeyor, the following error is raised:

SignTool error : No certificates were found that met all the given criteria.
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command ""C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\signtool.exe" sign /fd sha256 /sha1 e0402d01f6292e55540e018df14130234ec08306 /tr http:https://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 C:\projects\cie-middleware\Win32\Release\CIEPKI.dll

@alranel alranel added the bug label Oct 26, 2017
@fottavi
Copy link
Collaborator

fottavi commented Nov 6, 2017

I have been using a code signature certificate issued to IPZS, and I don't think that it's possible to upload it to AppVeyor (both for legal issues and platform limitations).
By now we can skip the code signature step. When we'll reach the first release build we'll solve the problem. I can apply the signature on my PC then I'll upload the signed exe in the repository. Anyway, at the moment it's not critical. Let's just keep the issue open to remind the task

@madduci
Copy link

madduci commented Nov 22, 2017

It should be possible by uploading an encrypted version of the codesigning keystore, unlock it at runtime with an environment variable (set in AppVeyor by the repository maintainer) and sign the code.

Example of powershell script doing encryption/decryption: https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Script-410ef9df

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants