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

AzureSignTool incorrectly detect unsigned files as signed #240

Open
Crypt32 opened this issue Mar 21, 2024 · 0 comments
Open

AzureSignTool incorrectly detect unsigned files as signed #240

Crypt32 opened this issue Mar 21, 2024 · 0 comments

Comments

@Crypt32
Copy link

Crypt32 commented Mar 21, 2024

sometimes AzureSignTool incorrectly detects unsigned file as signed and skips such file from signing. The issue appears under the following conditions:

  1. -s switch is used
  2. file being signed contains a certificate, PKCS7 (signed or unsigned) bag as a content, embedded resource, etc
  3. embedded certificate contains Code Signing EKU

The root cause is because the X509Certificate.FromSignedFile .NET API is flawed and description is misleading. More details in my blog post about this particular issue: https://www.pkisolutions.com/blog/azuresigntool-incorrectly-identifies-unsigned-files-as-signed/

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

No branches or pull requests

1 participant