Old format packet support

David Shaw dshaw at jabberwocky.com
Sat Feb 7 09:35:36 CET 2004


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

On Fri, Feb 06, 2004 at 06:46:33PM -0500, Hasnain Mujtaba wrote:
> Hi David,
> 
> I writing a Java OpenPGP implementation that that will handle inbound
> and outbound streaming using the partial length encoding. I want to make
> it compatible with the old format indeterminate encoding as well. 
> 
> The reason I asked the question was so that I could use GPG to generate
> such old stype packets and use them as sample input data.

Interesting project.  Take a look at the code in
compress.c:do_compressed() in GnuPG.  It's one of the places GnuPG
generates indeterminate packets.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc

iHEEARECADEFAkAk97gqGGh0dHA6Ly93d3cuamFiYmVyd29ja3kuY29tL2Rhdmlk
L2tleXMuYXNjAAoJEOJmXIdJ4cvJQ2YAoM13s9WN5+zshbQZOlq/3bRaYa1WAJ9b
aHTrVblrwP9dQp5/1Ex81ZvDZA==
=Prhx
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list