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
As I understand, this code compares the actual Authenticode hash against the hash in the signed message. However, the check is performed independently of certificate validation. Therefore, an unverified certificate chain has no effect, and SignatureValid can still end up being true as long as the hashes match.
I think it would be a good idea to consider the signature valid as long as the certificate chain can be verified to prevent misuse of the API.
signatureValid = signatureValid && certValid
The text was updated successfully, but these errors were encountered:
pe/security.go
Lines 401 to 409 in 17e5221
As I understand, this code compares the actual Authenticode hash against the hash in the signed message. However, the check is performed independently of certificate validation. Therefore, an unverified certificate chain has no effect, and
SignatureValid
can still end up being true as long as the hashes match.I think it would be a good idea to consider the signature valid as long as the certificate chain can be verified to prevent misuse of the API.
The text was updated successfully, but these errors were encountered: