From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 11 16:08:47 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F7B71065675 for ; Fri, 11 Jul 2008 16:08:47 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id BB6BA8FC1B for ; Fri, 11 Jul 2008 16:08:46 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A7DC3.dip.t-dialin.net [84.154.125.195]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id m6BG8hLs061875; Fri, 11 Jul 2008 18:08:44 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id m6BG8WhV026436; Fri, 11 Jul 2008 18:08:32 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id m6BG8rkg002408; Fri, 11 Jul 2008 18:08:58 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200807111608.m6BG8rkg002408@fire.js.berklix.net> to: hackers@freebsd.org From: "Julian Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://berklix.com Date: Fri, 11 Jul 2008 18:08:53 +0200 Sender: jhs@berklix.org Cc: Ivan Voras Subject: Re: GPG encryption of binary sample requested. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 16:08:47 -0000 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 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) " 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) " encrypted with 2048-bit ELG-E key, ID E82C367A, created 2008-06-04 "Julian H. Stacey (20080604103910) " [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) " 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) " 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