vcsjones / AzureSignTool

SignTool Library and Azure Key Vault Support
MIT License
272 stars 85 forks source link

Support for /as option #168

Closed nishaatr closed 2 years ago

nishaatr commented 2 years ago

Looks like AzureSignTool does not support singtool.exe /as option (https://docs.microsoft.com/en-us/dotnet/framework/tools/signtool-exe). I tried to sign with sha1 then sha256 but signature is overwritten

Any workaround or possibly support /as in the future? (I need this pretty soon)

Thanks

vcsjones commented 2 years ago

This is unfortunately not possible with AzureSignTool, and it's mentioned at the bottom of the readme, briefly.

The underlying Windows signing API being used, SignerSignEx3, does not support appending signatures when used with the signer callbacks.

nishaatr commented 2 years ago

Thank you @vcsjones. Appreciated for the quick response

I found this explicitly mentioned in this article https://vcsjones.dev/azure-signtool/ which looks like its authored by yourself