Partial body length encoding for Compressed packets

Hasnain Mujtaba hmujtaba at
Tue Feb 8 20:06:53 CET 2005

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? 

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

On Tue, Feb 08, 2005 at 01:53:15PM -0500, Hasnain Mujtaba wrote:
> Hi David,
> There's food for thought in your comments. Sanity is very important to
> me. So, thanks. 
> On a techincal level, I was only curious about this mixing and
> of partial body length headers and indeterminate encoding. I guess I
> will never know for sure why it is that way with 2.x, and perhaps 5.x.

It's historical.  PGP 2.x came before the partial body length encoding
existed, so that's why it doesn't support it at all.


Gnupg-users mailing list
Gnupg-users at

More information about the Gnupg-users mailing list