go-pgpmail icon indicating copy to clipboard operation
go-pgpmail copied to clipboard

Fix openpgp.MessageDetails footguns

Open emersion opened this issue 5 years ago • 1 comments

Either populate SignatureError with an error before verification is complete, or switch to our own type.

emersion avatar Feb 14 '20 09:02 emersion

Another footgun: when the signature issuer is unknown, SignatureError is nil but nothing has been verified. The only way to know is to check that SignedBy isn't nil.

emersion avatar Mar 03 '20 21:03 emersion