Descriptiongo.crypto/openpgp: return signature error rather than unknown issuer.
In the event that a detached signature fails to verify, the code would
continue trying to find other keys with the same key ID and eventually
conclude that the signature was issued by someone unknown
(ErrUnknownIssuer).
With this change, the signature verification error would be returned
instead. (Technically the last error if several keys had a matching key
id and neither verified.)
Fixes issue 8509.
Patch Set 1 #Patch Set 2 : diff -r 41cd4647fccc72b0b79ef1bd1fe6735e718257cd https://code.google.com/p/go.crypto #Patch Set 3 : diff -r 41cd4647fccc72b0b79ef1bd1fe6735e718257cd https://code.google.com/p/go.crypto #Patch Set 4 : diff -r 41cd4647fccc72b0b79ef1bd1fe6735e718257cd https://code.google.com/p/go.crypto #
MessagesTotal messages: 3
|