gopenpgp icon indicating copy to clipboard operation
gopenpgp copied to clipboard

error during PGP decryption

Open Akshith-Banda opened this issue 1 year ago • 3 comments

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.

Akshith-Banda avatar Jan 22 '24 15:01 Akshith-Banda

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

HimanshuSharma-Angel avatar Apr 15 '24 21:04 HimanshuSharma-Angel