Open Youkko opened 2 years ago
Oh, and I should've mentioned that I'm running it on Windows 11 Pro v22H2 build 22621.675, with Microsoft Visual Studio Community 2022 (64-bit) v17.3.6
Ok, after 5 days researching, I found out that this error is windows telling you that you're trying to sign your application with a void certificate, so it can't be validated. I suggest that you add this to the list of handled return codes.
Ok, after 5 days researching, I found out that this error is windows telling you that you're trying to sign your application with a void certificate, so it can't be validated. I suggest that you add this to the list of handled return codes.
thank you for saving me the time! This was exactly what happened to me today.
Ok, after 5 days researching, I found out that this error is windows telling you that you're trying to sign your application with a void certificate, so it can't be validated. I suggest that you add this to the list of handled return codes.
thank you for saving me the time! This was exactly what happened to me today.
Glad to help!
Re-opening to handle this error better.
I'm trying to sign a file with a certificate stored on azure vault. I signed that some time ago and it worked, but now I'm trying to sign again with the same command and am getting errors.
The parameters I used:
Of course, I changed the real urls with fake ones, but this command always worked. Also, note that the certificate file and token I used are valid.
Here's the output from my debug session:
While debugging, I found out that the problem happens on AzureSign.Core/AuthenticodeKeyVaultSigner.cs:171 call, which returns code -2146762486 as result (which translates to 0x800B010A). This doesn't match any handled return codes, and I have no idea what this code means.
The closest explanation for this code I got was this one, but this doesn't make much sense, since I'm trying to sign a file using a certificate stored on azure keyvault (and not trying to install a certificate), which I suppose doesn't require any certificates to exist on my current environment. Besides, this was working some time ago, and suddenly stopped.
Since I don't have a deep knowledge about how the file signing process works/is done, and this one seems to be the only tool able to sign files using a certificate stored on azure vault, I'm asking for help with this.
Thank you so much in advance.