ietf-openpgp
[Top] [All Lists]

Re: Conventional works, but pgpv needs armor

1998-03-30 21:42:38
On Mon, 30 Mar 1998, Hal Finney wrote:

PGP 5.X puts a marker packet at the beginning of any binary message which
includes new-style packet tag octets (ones with bit 6 set).  This
causes PGP 2.X to recognize that the message is a PGP message which
requires a newer version of PGP.  Without the marker packet, PGP 2.X
thinks it is not a PGP message.

The binary parser for PGP 5.X also looks for an old-style tag octet at
the beginning of the message.  This is in pgpFileTypePGP in the
pgpFileType.c module.

In order for PGP 5.X to recognize that a binary message which uses
new-format tags is a PGP message, you should put a marker packet at
the front.  That's why it is not reading the SKESK example properly.

So, that is what the 0xa8 0x03 'P' 'G' 'P' is for?  I shut it off for
conventionals.
(line 157 of pgp5cryp.c)

Oh well, version 0.91e tomorrow...

--- reply to tzeruch - at - ceddec - dot - com ---


<Prev in Thread] Current Thread [Next in Thread>