ASCII Armored example from rfc2440bis-12

Peter Jones pete at petesplace.id.au
Tue Mar 15 10:47:37 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 15 Mar 2005 02:24 am, Plan9 wrote:
> If I edit the example and place a blank line after the Version: line
> then pgp will also decrypt it.  PGP 8.1 has no problems with either
> form.
>
> -----BEGIN PGP MESSAGE-----
> Version: OpenPrivacy 0.99
>
> yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS
> vBSFjNSiVHsuAA==
> =njUN
> -----END PGP MESSAGE-----

As I understand it -- and I'm no expert -- the blank line is required to 
separate the header from the encrypted body.  As well as version 
information, the header may also contain one (or more) comment line(s); 
without the blank line, the software has no way of knowing where the 
header ends and the body begins -- although it appears that PGP 8.1 is 
prepared to make an educated quess...

Pete.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCNq9C+Kt3WDVX4jQRAp+QAKDHxf2eOY5FScs20CcRTdMwg9oYEwCfawl3
KrI4lyzIcSP+xc5F/hYncno=
=B19H
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list