Page MenuHome GnuPG

Messages with compression algorithm "0"/"Uncompressed" fail to decrypt
Closed, ResolvedPublic

Description

Hi,

I'm encountering problems decrypting messages with compression algo 0.
The client producing the encrypted messages doesn't support any "other"
compression.
The problem is, that I get the error, that the used compression algorithm is
unknown to GnuPG 1.4.18.

I found a similar bug report for GnuPG 2:
T1326
Maybe this helps fixing the issue also in the 1.x branch.

gpg --list-packets message.txt.asc
:pubkey enc packet: version 3, algo 16, keyid xxxxxxxxxxxxxxxx

        data: [4096 bits]
        data: [4096 bits]

Sie benötigen eine Passphrase, um den geheimen Schlüssel zu entsperren.
Benutzer: "xxxxxxxxxxxxxxxxxxxxxxxxx"
4096-Bit ELG-E Schlüssel, ID xxxxxxxx, erzeugt xxxx-xx-xx (Hauptschlüssel-ID
xxxxxxxx)

:pubkey enc packet: version 3, algo 1, keyid xxxxxxxxxxxxxxxx

data: [2047 bits]

:pubkey enc packet: version 3, algo 1, keyid xxxxxxxxxxxxxxxx

data: [2046 bits]

:encrypted data packet:

length: 55
mdc_method: 2

gpg: verschlüsselt mit 2048-Bit RSA Schlüssel, ID xxxxxxxx, erzeugt xxxx-xx-xx

"xxxxxxxxxxxxxxxxxxxx"

gpg: verschlüsselt mit 2048-Bit RSA Schlüssel, ID xxxxxxxx, erzeugt xxxx-xx-xx

"xxxxxxxxxxxxxxxxxxxx"

gpg: verschlüsselt mit 4096-Bit ELG-E Schlüssel, ID xxxxxxxx, erzeugt xxxx-xx-xx

"xxxxxxxxxxxxxxxxxxxx"

:compressed packet: algo=0
gpg: uncompressing failed: Unbekanntes Komprimierverfahren

Details

Version
1.4.18

Event Timeline

BigMike set Version to 1.4.18.
BigMike added a subscriber: BigMike.
werner added a subscriber: werner.

Fixed with commit 45e3b81. Will go in 1.4.19, release dates not yet known.

werner claimed this task.
werner removed a project: Restricted Project.