Missing 'END PGP MESSAGE' not detected
Kavalec
kavalec at gmail.com
Wed Jan 19 18:09:52 CET 2011
David Shaw wrote:
>
> On Jan 19, 2011, at 10:46 AM, Kavalec wrote:
>
>> Is there a way to force the decrypt to fail on a missing 'END PGP
>> MESSAGE' ?
>
> ... take one of your truncated files and run:
>
> gpg --list-packets the-truncated-file.asc
>
> Look for a line that reads "mdc_method: 2". If you see that, you are
> protected from truncation no matter what your transport system does.
>
> David
>
>
Thanks David, that does give a 'fatal' error indicator, which we can test
for.
--
View this message in context: http://old.nabble.com/Missing-%27END-PGP-MESSAGE%27-not-detected-tp30711102p30711942.html
Sent from the GnuPG - User mailing list archive at Nabble.com.
More information about the Gnupg-users
mailing list