You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validates that the chain uses SHA2 EE and intermediate certificates.
This does not fully validate the chain, such as the EKU, etc. This
will instead be done as part of WinVerifyTrustEx in a later check.
Fixes#2.
verboseWriter.LogSignatureMessage(primary,$"Expected {nameof(KnownOids.SHA1)} digest algorithm but is {primary.DigestAlgorithm.FriendlyName}.");
23
+
verboseWriter.LogSignatureMessage(primary.SignerInfo,$"Expected {nameof(KnownOids.SHA1)} digest algorithm but is {primary.SignerInfo.DigestAlgorithm.FriendlyName}.");
verboseWriter.LogSignatureMessage(signature.SignerInfo,$"Cannot build a chain successfully with signing certificate {signature.SignerInfo.Certificate.SerialNumber}.");
verboseWriter.LogSignatureMessage(signatureInfo,$"Certificate {element.Certificate.Thumbprint} in chain uses {element.Certificate.SignatureAlgorithm.FriendlyName} for its signature algorithm instead of SHA2.");
0 commit comments