[imp] Attn:Dev's..imp gpg continues to be broken (for me).

dscott@phivedesign.com dscott@phivedesign.com
Wed Nov 20 21:58:18 2002


Hello all,

Further to my email yesterday concerning the broken(ness) of imp and its GPG 
implementation.
I have been working on this for 2 weeks now, and still the same "Notice: Object 
to string conversion in /usr/local/lib/php/Mail/mimeDecode.php on line 368
" result.
Today I finally caved in and loaded the Win32 
version of GNU PGP. I executed the following:

gpg -e -a test.txt

The result was test.asc, which I then opened in notepad and copied it's 
contents into a plain text email in Outlook.  I then emailed myself the 
encrypted contents through Outlook and was actually able to auto-decode and 
read its unencrypted contents using IMP.

Below are the sources for the corresponding email (edited for content).  

Working GPG email sent via Outlook:

Return-Path: <dscott@phivedesign.com>
Delivered-To: dscott@phivedesign.com
Received: (qmail 22177 invoked from network); 20 Nov 2002 21:28:45 -0000
Received: from xxx.xxx.ca (HELO ramp) (xxx.xxx.xxx.xx)
  by xxx.xxx.com with SMTP; 20 Nov 2002 21:28:45 -0000
From: "dscott" <dscott@phivedesign.com>
To: <dscott@phivedesign.com>
Subject: a test part IV
Date: Wed, 20 Nov 2002 16:28:51 -0500
Message-ID: <000001c290db$d342c080$18f7d1d8@ramp>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.1 (MingW32)

hQEOAwMlUhFAXsv9FAP/UeFOU55xOwJ1i/rOOCHd9AB6va4yGMKzGItmZOZYRVwu
0iPVdq/N/E97IfLGCvRMSYJa5fQ8sT40M/l1S1swHSmp6PgwJf9hPvYlMbOkFbIq
BkjeOG7mHMnm/R7wqy2NRahxylZjgkKU3cb+/ZKK3DDE0kl1ra6U1P3Bsft3hS0D
/i+IZziM0W52z+SYABwHK/psjWWsKRkLda2vf6IPxRSE0ZZL7GzWv94rG8OXyh3g
4ybsg0nGZRkiecEx9Z3v2x5wdhNineXOsL1BMiuBBtMBuvV9yE4sKLkil1QKXGVy
eleov1Whatu3Yj/4Ocl+jTc/+pb080dXfBfbv9AQHh+w0sEQAZjI4UKqnvNXpY44
9B7fVZxVaNJ5b4zr6xxaeiC4C6pk3215HFGzwZk03nIFGYKCphLVP7G9XWlwnosH
0p/aAlxQd1HppOyHvk/taJgEdLooJwe43AWUqu6+p+wQfU6OI63UvVywzoUVCIOL
MLCgFR8fzW5q2Edf7Iq33tKHdv08BwyjQ1i/OZW1VpQDm2QBjsjiB4+gsOrK13s/
tTcgSgEMLDD86mKX+I0mgTQsBN0Lh1CBSjxYzBZsu/f/TD51y8TaRmbHOmxnC8ow
fB7xKaAA6tCumHU7Xwh7FLfSzAPXXUVGdU7ws8Z4Ba06xahCAiYeP+/C/wasJEYl
BO2XfVETX8IjjydcO6tOqzRWIyGpczlErRlM6utes7krhxQHJx2osqZG2k7b1CRL
8ZK+e66ZGwN3ZeqzBYLXKtPQxDvDPicjmYUfQ35d/P2ZDbdbK3+qY8NYcSQUOIB0
7r67DI1oko9ZHpg+YUsB54jN97UDYGviswBhm/XssoqvJS37nsmAv3dwJuXm3dWS
PXApp2bsKl9jVFOo4cKhpG5MVZ9/jNBdV41eTQdFSTtXAcFwYFC4ePNe4brqOFr7
nZpe0B+42oMbVO4o9P8gUmiTDvk=
=JUtA
-----END PGP MESSAGE-----


Now the non-working GPG email via IMP:

Return-Path: <dscott@phivedesign.com>
Delivered-To: dscott@phivedesign.com
Received: (qmail 22346 invoked by uid 99); 20 Nov 2002 21:46:35 -0000
Received: from xxx.xxx.ca (xxx.xxx.ca [xxx.xxx.xxx.xxx]) 
	by www.phivedesign.com (IMP) with HTTP 
	for <dscott@mail.phivedesign.com>; Wed, 20 Nov 2002 16:46:35 -0500
Message-ID: <1037828795.3ddc02bb4a5b4@www.phivedesign.com>
Date: Wed, 20 Nov 2002 16:46:35 -0500
From: dscott@phivedesign.com
To: dscott@phivedesign.com
Subject: Test part V
MIME-Version: 1.0
Content-Type: multipart/encrypted;
	boundary="=_afd15f889e0f1bce83ad0897";
	protocol="application/pgp-encrypted"
Content-Description: PGP Encrypted Data
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Mailer: That crazy Techno-emailer-thang

This message is in MIME format.

--=_afd15f889e0f1bce83ad0897
Content-Type: application/pgp-encrypted
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Version: 1

--=_afd15f889e0f1bce83ad0897
Content-Type: application/octet-stream
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.1 (GNU/Linux)

hQIOA6owNL1B5uWBEAgAm6S9z4dB2cPMe2jddYRd/8oPPEO3Olt1ajXgmq15mj+E
9bl6d2lKNzjM2jQW/Qh4H+dmUDGjIxaGXxOia8riJ299XvYWlKgPdABm2t9SH7A/
3lPAIhNgdmKnjBOVujv4LW8Y9SZ/JmnGfe1fkAQ57PACOeKYy6j7oJtN0yjTD9Uu
RTNcSYoLF8LC3GpWWLt8n3AHKKH8vIWV8VScf+jMbniuek71JLnUyVdmy6Qtxgqn
ohnVgQ57Ysf4Vjpk2XObxXgIgB/+kyzNJlrOHbGjr1z1CkAgKvLxwQUtQWawAgju
I5r403jcNhQU6lkgatamk3A5i00oTMgpxgbwE1nZAQf/SVV9Vk8npQHshPsJsenG
yLnrG7Q0SNcRmruA+plShvhY6MKXA8PKiaE18HJy+TiUAukzDvRajzOnQ6GH4PL9
7gwaocKhjxWj4ff4gvcqiNskNQDUCxBOgsnjKCTzCBw5PyUBP6TbpJYcuLH/awYV
5jiqbOINhARaJ3MSw1N1bGrQEJoFOS3CnurJLFAj2Flb8C7nWn/YEZdVrCBJkfaH
3bmtq6yd1z4gBaS1XcpXOE7L9nnvi2sk6s+fmWNy14qIB1M2DWMZFWYs8QGWHLpp
UoxEh6WDi8ySPxqFA9OKwp4uqblw2bNozCYavEBKtsmsN8HCpCf2FWG2QRKe8BsQ
V9J9Ac0IE9N1wt9iwXmU51TDEtJ1SWjekJ1174jKOd0/+PXOM+Mgv972tQkOGo5d
j1qSd82DXIQ/5kdylb3x/2glY3vAYWTE3qwhGkQ1lLsUV/ODHDLDXxipzPbqbqI+
7LzmQCZf74OIYv9WjQOPhOq9cLnyQY6GgAIX45X1PaA=
=ym7D
-----END PGP MESSAGE-----

--=_afd15f889e0f1bce83ad0897--

My question to the Dev's.  Why all the extraneous stuff in the msg headers and 
body?...:

This message is in MIME format.

--=_afd15f889e0f1bce83ad0897
Content-Type: application/pgp-encrypted
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Version: 1

--=_afd15f889e0f1bce83ad0897
Content-Type: application/octet-stream
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Who is breaking the RFC's..Outlook, or Imp? 

Any help would be appreciated. I have wanted this kind of functionality in IMP 
for a very long time and am pretty frustrated by it right now.

Regards.

D.

-------------------------------------------------
This mail jumped through hoops to get to you


More information about the imp mailing list