ProtonMail / gopenpgp

A high-level OpenPGP library
https://gopenpgp.org
MIT License
1.04k stars 117 forks source link

error during PGP decryption #267

Open Akshith-Banda opened 8 months ago

Akshith-Banda commented 8 months ago

Discussed in https://github.com/ProtonMail/gopenpgp/discussions/266

Originally posted by **Akshith-Banda** January 19, 2024 HI, I'am trying to decrypt an pgp encrypted msg and getting this error : **gopenpgp: unable to decrypt message: gopenpgp: error in reading message: openpgp: unsupported feature: message is not integrity protected** I'm using **helper.DecryptVerifyMessageArmored** method Is there any way to bypass this MDC (integrity check) feature.
HimanshuSharma-Angel commented 5 months ago

@Akshith-Banda I made changes to the library to bypass integrity check. https://github.com/angel-one/gopenpgp/commit/5eee9143324f4b0a7e1a499c3a2f6966882f263a