Overflow bug in bzip2

David Shaw dshaw at jabberwocky.com
Mon Nov 8 03:28:35 CET 2010


On Nov 7, 2010, at 6:19 PM, Morten Gulbrandsen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> David Shaw wrote:
>> Hi folks,
>> 
>> This isn't a GnuPG bug per se, but given that many (most?) people using GnuPG have it linked against libbz2, please read http://www.ubuntu.com/usn/usn-986-1 and upgrade appropriately for your platform.
>> 
>> To tell if your installation of GnuPG is using libbz2, run "gpg2 --version" (or "gpg --version").  If you see "BZIP2" on the "Compression" line, then you are linked with libbz2.
>> 
>> David
>> 
> 
> 
> Hi list readers:
> Hi David:
> 
> My problem is:
> 
> gpg: uncompressing failed: unknown compress algorithm
> 
> https://www.blastwave.org/forum/viewtopic.php?f=5&t=755
> 
> personal-compress-preferences BZIP2 ZLIB ZIP Uncompressed
> 
> the last line from my gpg.conf triggers the error

You can only list bzip2 as a preference if you actually have bzip2 support.  Having bzip2 installed on your machine is only half the issue - you also have to have a GnuPG that is compiled to actually *use* that bzip2.  If "gpg --version" does not display "bzip2" as one of the supported algorithms, then you will need to build a GnuPG that has bzip2 support enabled.

David




More information about the Gnupg-users mailing list