Mailing List Archive

invalid packets
Hi,

I see this error messages while trying to decrypt
a text file (Mailbox), encrypted with pgp5:
-----
]laslo|laslo[.$ gpg -o mail-1998.11.13-gpg mail-1998.11.13.crypt

You need a passphrase to unlock the secret key for
user: "laslo (dsa) <laslo@ilo.opole.pl>"
(1024-bit ELG-E key, ID E2F19CA7, created 1998-11-06)

gpg: [don't know]: invalid packet (ctb=75)
gpg: [don't know]: invalid packet (ctb=6c)

gpg: Ohhhh jeeee: Ohh jeee, trying to remove an intermediate filter
secmem usage: 1632/3104 bytes in 4/10 blocks of pool 3456/16384
IOT trap/Abort
-----

Could anybody tell me what does it mean ?

I have to add that decrypting the same file with pgp5
gives no errors and decryption succeeds.

]laslo|laslo[$ ls -l mail-1998.11.13*
-rw------- 1 laslo users 892999 Nov 14 01:05 mail-1998.11.13-gpg
-rw------- 1 laslo users 1413473 Nov 14 01:11 mail-1998.11.13-pgp5
-rw------- 1 laslo users 700212 Nov 13 20:43 mail-1998.11.13.crypt

Any suggestions ?

Thanks,
laslo
Re: invalid packets [ In reply to ]
laslo@ilo.opole.pl writes:

> You need a passphrase to unlock the secret key for
> user: "laslo (dsa) <laslo@ilo.opole.pl>"
> (1024-bit ELG-E key, ID E2F19CA7, created 1998-11-06)
>
> gpg: [don't know]: invalid packet (ctb=75)
> gpg: [don't know]: invalid packet (ctb=6c)

Okay, it is 0.4.3, so my next guess is that it is a problem with zlib.
can you try to do create the message with "-z 0"?
Re: invalid packets [ In reply to ]
Werner Koch wrote in his message:
> > gpg: [don't know]: invalid packet (ctb=75)
> > gpg: [don't know]: invalid packet (ctb=6c)
>
> Okay, it is 0.4.3, so my next guess is that it is a problem with zlib.
> can you try to do create the message with "-z 0"?

As I said in my first letter, it's a file created with pgp5
so I think you misunderstood me. Am I right ?

From my first post:
| I see this error messages while trying to decrypt
| a text file (Mailbox), encrypted with pgp5:
^^^^^^^^^^^^^^^^^^^

--
TCT 1024Q/435S780P R2SN R9O1 R986 Q406 7PR2 7Q52 0Q9S NQ56 435S 780P
`znvy ynfyb-qfn-xrl@vyb.bcbyr.cy < /qri/ahyy' sbe [ctc/tct] qfn xrl
Re: invalid packets [ In reply to ]
laslo@ilo.opole.pl writes:

> As I said in my first letter, it's a file created with pgp5
> so I think you misunderstood me. Am I right ?

Alright. So I'm now pretty sure that it is a problem with zlib -
If you run gpg with "-vv" it should tell you some more about the
structure of the gpg packet; run it and send it to me.
Re: invalid packets [ In reply to ]
Werner Koch wrote in his message:
> Alright. So I'm now pretty sure that it is a problem with zlib -
> If you run gpg with "-vv" it should tell you some more about the
> structure of the gpg packet; run it and send it to me.

Here it is (I didn't cut too much, because I'm not sure
which information is important):
-----begin
]laslo|laslo[.$ gpg --no-options -vv -o mail-1998.11.13.crypt-gpg mail-1998.11.1
3.crypt
gpg (GnuPG) 0.4.3; Copyright (C) 1998 Free Software Foundation, Inc.
[...]
:unknown packet: type 10, length 3
dump: 50 47 50
:pubkey enc packet: version 3, algo 16, keyid 891FB6D2E2F19CA7
data: [1022 bits]
data: [1023 bits]

You need a passphrase to unlock the secret key for
user: "laslo (dsa) <laslo@ilo.opole.pl>"
(1024-bit ELG-E key, ID E2F19CA7, created 1998-11-06)

gpg: pubkey_enc packet: Good DEK
:encrypted data packet:
length: unknown
gpg: CAST5 encrypted data
:compressed packet: algo=1
:literal data packet:
mode b, created 2801795072, name="/home/uczniowie/ppass96/mail-1998.11.13",
raw data: 0 bytes
gpg: original file name='/home/uczniowie/ppass96/mail-1998.11.13'
gpg: [don't know]: invalid packet (ctb=75)
gpg: [don't know]: invalid packet (ctb=6c)

gpg: Ohhhh jeeee: Ohh jeee, trying to remove an intermediate filter
secmem usage: 1632/3104 bytes in 4/10 blocks of pool 3456/16384
IOT trap/Abort
-----end

thank U,
--
TCT 1024Q/435S780P R2SN R9O1 R986 Q406 7PR2 7Q52 0Q9S NQ56 435S 780P
`znvy ynfyb-qfn-xrl@vyb.bcbyr.cy < /qri/ahyy' sbe [ctc/tct] qfn xrl
Re: invalid packets [ In reply to ]
laslo@ilo.opole.pl writes:

> :unknown packet: type 10, length 3
> dump: 50 47 50

"PGP" Marker packet that is okay.

> gpg: pubkey_enc packet: Good DEK
> :encrypted data packet:
> length: unknown
> gpg: CAST5 encrypted data
> :compressed packet: algo=1
> :literal data packet:
> mode b, created 2801795072, name="/home/uczniowie/ppass96/mail-1998.11.13",
> raw data: 0 bytes
> gpg: original file name='/home/uczniowie/ppass96/mail-1998.11.13'
> gpg: [don't know]: invalid packet (ctb=75)

Yet it is a problem with zlib - we have to see how to fix it.

Thanks.

werner
Re: invalid packets [ In reply to ]
just wanted to report that 0.4.4 doesn't fix
this "invalid packet" problem...

> gpg: [don't know]: invalid packet (ctb=75)
> gpg: [don't know]: invalid packet (ctb=6c)

-- laslo