gopenpgp
gopenpgp copied to clipboard
Expose config option to decrypt unauthenticated messages
As other PGP libraries, the option to allow the decryption of unauthenticated messages should be exposed from the crypto.KeyRing.Decrypt*
methods.
There is already an option on the go-crypto/openpgp/packet/Config
struct: InsecureAllowUnauthenticatedMessages
, but there is no way of setting it to true
.