PGPro icon indicating copy to clipboard operation
PGPro copied to clipboard

Large messages cannot be decrypted

Open tom709 opened this issue 4 years ago • 2 comments

Hi,

When I send a large (5.1MB) message with an attachment from Thunderbird and try to decrypt it, I get the error "Message invalid". This does not happen with smaller messages even when they have an attachment. Both Thunderbird and PGPro are latest version as of today.

Suggestion: make version number visible in PGPro.

Thanks

tom709 avatar Nov 25 '20 09:11 tom709

Could you send me an encrypted message that triggers this bug to [email protected]? You can find my key here.

lucanaef avatar Apr 27 '21 10:04 lucanaef

The message invalid error results from .asc files which contain Windows style line terminations, CR+LF instead of Unix style line terminations just LF. In this case the regular expression "-----BEGIN PGP MESSAGE-----(.|\n)*-----END PGP MESSAGE-----" doesn't match. You should probably replace \n by \s.

But still, my files cannot be decrypted, see https://github.com/lucanaef/PGPro/issues/35.

AndreasStrahm-Puzzle avatar Aug 12 '21 12:08 AndreasStrahm-Puzzle