GPG encryption of binary sample requested.
Julian Stacey
jhs at berklix.org
Fri Jul 11 16:08:47 UTC 2008
Summary: A problem in zlib is confirmed here (for mail gpg decryption),
do others see this too or have comment please ?
Re my:
> Could a few people please post to list saying they will private
> mail me (off list) some encrypted binary junk please ? If you have
> a Microsoft PC (or non BSD) to mail binary junk from, so much the
> better, but some BSD too would help.
3 Samples:
Ivan Voras <ivoras at freebsd.org> sent extract below.
> User-agent: Thunderbird 2.0.0.14 (X11/20080505)
.....
> This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156)
> --------------enigB5EAC3335274D5D400B6D1CA
> Content-Type: application/pgp-encrypted
> Content-Description: PGP/MIME version identification
>
> Version: 1
>
> --------------enigB5EAC3335274D5D400B6D1CA
> Content-Type: application/octet-stream; name="encrypted.asc"
> Content-Description: OpenPGP encrypted message
> Content-Disposition: inline; filename="encrypted.asc"
>
> -----BEGIN PGP MESSAGE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> hQIOA/uC25joLDZ6EAf+N4k9AImLAcSuBjG5rmfyc23WMjQum7vQ3LhaCI3lRfrH
221903 lines deleted
> tY1rdGkrZ0YZ5ECQHSkBvroUNCjbbmqngnE39Do7cxtGJRMimlZfGf/xporskUkI
> eO8ncINtD8NGOqFilyZv
> =MTbn
> -----END PGP MESSAGE-----
>
> --------------enigB5EAC3335274D5D400B6D1CA--
Thanks Ivan !
My EXMH-2.7.2 on FreeBSD-6.2 amd64 reported:
encrypted with ELG-E key, ID 149FDD60
encrypted with 2048-bit ELG-E key, ID E82C367A, created 2008-06-04
"Julian H. Stacey (20080604103910) <jhs at berklix.org>"
fatal: zlib inflate problem: invalid distance code
secmem usage: 2784/4128 bytes in 6/10 blocks of pool 6112/32768
Gary J mailed me from FreeBSD (current I guess)
X-mailer: Claws Mail 3.5.0 (GTK+ 2.10.14; amd64-portbld-freebsd8.0)
& EXMH reported
encrypted with 2048-bit ELG-E key, ID F61A79A1, created 2008-06-03
"Gary Jennejohn (Lee) <gary.jennejohn at freenet.de>"
encrypted with 2048-bit ELG-E key, ID E82C367A, created 2008-06-04
"Julian H. Stacey (20080604103910) <jhs at berklix.org>"
[don't know]: invalid packet (ctb=51)
[don't know]: invalid packet (ctb=41)
WARNING: encrypted message has been manipulated!
[don't know]: invalid packet (ctb=41)
no valid OpenPGP data found.
A Microsoft user sent me a gpg encoded MIME enclosure
I clicked to save that then reported:
file file.asc
PGP armored data message
gpg -d -o xx file.asc
You need a passphrase to unlock the secret key for
user: "Julian H. Stacey (20080604103910) <jhs at berklix.org>"
2048-bit ELG-E key, ID E82C367A, created 2008-06-04 (main key ID F986DFE1)
gpg: encrypted with 2048-bit ELG-E key, ID E82C367A, created 2008-06-04
"Julian H. Stacey (20080604103910) <jhs at berklix.org>"
gpg: fatal: zlib inflate problem: invalid distance code
secmem usage: 2048/3712 bytes in 4/8 blocks of pool 4832/32768
I ran:
cd /usr/src ; find . -name \*zlib\* | xargs touch ; make all install
exited & restarted exmh & retyped passphrase, & problem persists.
I tried running EXMH on 7.0 686 ( very slow, problems with NFS/AMD
(or maybe some gbde linked ~/.* initialisers ) & still a problem
with zlib.
I would try claws-mail, but a problem with gpg-agent (maybe local net related?)
I guess I'll try thunderbird.
Any comments/ ideas very welcome.
Julian
--
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
Mail plain ASCII text. HTML & Base64 text are spam. www.asciiribbon.org
More information about the freebsd-hackers
mailing list