PGPro
PGPro copied to clipboard
Large messages cannot be decrypted
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
Could you send me an encrypted message that triggers this bug to [email protected]? You can find my key here.
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.