Partial body length encoding for Compressed packets

Hasnain Mujtaba hmujtaba at forumsys.com
Tue Feb 8 20:28:53 CET 2005


That explains it! Thanks much.

-----Original Message-----
From: gnupg-users-bounces at gnupg.org
[mailto:gnupg-users-bounces at gnupg.org] On Behalf Of David Shaw
Sent: Tuesday, February 08, 2005 2:13 PM
To: gnupg-users at gnupg.org
Subject: Re: Partial body length encoding for Compressed packets

On Tue, Feb 08, 2005 at 02:06:53PM -0500, Hasnain Mujtaba wrote:
> But PGP2 does support partial body length encoding! Using the --pgp2
> option when encrypting, I can see that GPG uses PBL encoding for both
> encrypted and literal data packets, but not for compressesd. I must be
> totally wacko, but I don't get it. Why would GPG generate PBL encoded
> packets for PGP2? 

PGP2 does not support partial body length packets.  GnuPG is forced to
use PBL encoding if it does not know the length of a message (say, if
you're encrypting stdin or something with no clear size).  In that
case, regardless of the --pgp2 flag, PGP2 will not be able to decrypt
it.

David

_______________________________________________
Gnupg-users mailing list
Gnupg-users at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users



More information about the Gnupg-users mailing list