vcsjones / AzureSignTool

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

Exception - 80070005. #156

Open SabapathyKannappan opened 2 years ago

SabapathyKannappan commented 2 years ago

Hello,

Thanks a lot for the tool and we could integrate it seamlessly. During one of the project signing runs, we faced an error and pipeline aborted (since we would want this way). The error is:

fail: AzureSignTool.SignCommand[0] Signing failed with error 80070005.

we had some 300+ files and only on one at the moment, this error is appearing. No more description + file name information.

Do we have some more detail on this exception code? or any other hints?

Regards,

Saba

PetrPospisil commented 2 years ago

This error means "Access Denied". Deducting from the code the api returning this error is "SignerSignEx3". I think that you should check whether the file you are trying to sign has correct access rights set and has not readonly or any other unusual file flag set.