Using other compression algos with GnuPG

Kurt Fitzner kfitzner at
Sat Jan 21 17:22:36 CET 2006

David Shaw wrote:

> In fact, BZIP2 was added pretty much for archival purposes:
> I wouldn't be against LZMA if it was significantly better than BZIP2.

My understanding of the reason behind compression in OpenPGP is that it
was less to give you a smaller output file than it was to reduce obvious
redundancy in the message so as to improve resistance to cryptanalysis.

Is it cryptographically useful to have LZMA over zlib or bzip2?

Wouldn't a better approach be to add detection of compressed data to
GnuPG?  This way it can turn off compression if it sees precompressed
data.  If you are looking for better compression, you can then pipe your
data through your compressor-du-jour first, and then run it through GnuPG.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 305 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20060121/5fb951c0/signature.pgp

More information about the Gnupg-users mailing list