Summary | zip attachments get broken when sending as PGP/SMIME signed |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | adrieder (at) sbox (dot) tugraz (dot) at |
Created | 03/28/2006 (7053 days ago) |
Due | |
Updated | 04/18/2006 (7032 days ago) |
Assigned | 03/28/2006 (7053 days ago) |
Resolved | 04/18/2006 (7032 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
Taken from Michael Slusarz
have a memory limit set?
memory_limit = 32M
I really wonder why the unsigned message with the sam attachment works fine
a memory limit set?
State ⇒ Feedback
file once PGP signed and once without signing. In the first case it
is not possible to open or download the zip file with IMP again. I
just get an empty window.
text/plain part?
[....]
From: Rieder Dietmar <dietmar.rieder@tugraz.at>
To: Didi Rieder <dietmar.rieder@tugraz.at>
Subject: test
MIME-Version: 1.0
Content-Type: multipart/signed;
boundary="=_3hkevx5mv3y8";
protocol="application/pgp-signature";
micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs)
X-Organization: Graz University of Technology
X-Originating-IP: 129.27.145.220
X-Scanned-By: MIMEDefang 2.52 on 129.27.3.25
X-Scanned-By: milter-sender/1.8.900 (mail [129.27.3.25]); Tue, 28 Mar
2006 23:51:44 +0200
X-Scanned-By: MIMEDefang 2.52 on 129.27.10.18
This message is in MIME format and has been PGP signed.
--=_3hkevx5mv3y8
Content-Type: multipart/mixed;
boundary="=_5rlbusehyps0"
Content-Transfer-Encoding: 7bit
This message is in MIME format.
--=_5rlbusehyps0
Content-Type: text/plain;
charset=UTF-8;
DelSp="Yes";
format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
test
--
___________________________________________
D i e t m a r R i e d e r, Mag.
dietmar.rieder@tugraz.at | PGPKey ID: 3431D0B0
http://genome.tugraz.at
Tel: +43 316 873 5339 - Fax: +43 316 873 5340
--=_5rlbusehyps0
Content-Type: application/zip;
name="papers.zip"
Content-Disposition: attachment;
filename="papers.zip"
Content-Transfer-Encoding: base64
UEsDBAoAAAAAAGOLfDQAAAAAAAAAAAAAAAAHABUAcGFwZXJzL1VUCQADyVUpRNxVKURVeAQA9AH0
AVBLAwQUAAAACAD0stYwly/TBUi+BQAZAwYAFgAVAHBhcGVycy9pYm9ycmEtMTk5Ni5wZGZVVAkA
A0yV2ECisOBDVXgEAPQB9AHE/AVUHcvWNgovHBKc4LZwEhwW7g6BoMHd3T24BAnu7hrcXYMHd3d3
d7tkn7P3Pufsc/f3ve+4//jXGIzunt391KxZc1bNeqpoMhkhERoGWkYEsvWNkQmENyxMQHqgla4p
AhcXEIFO0sTSQMfW5IuBPpDh9VIayML6ehADqgEZGFlAQCZWdqDGr8eATOwgenr211NhIBuI8ddD
UkAG+tfD59dbjCxMr2/z8AARDCz1f2ED/5c/Z1sDQ4RXDZleS6L/54+BBfjbEWj5u4yBgZHtLzLG
16u/yBjZ/yJjATH9RcYG+iseO9Nf3mWkZ/pLGYwMjAx/kTEy/FXGRM/4Vxn7X58Dsf1Vxsz613JZ
WP4qY2X+q4wN9Fc8dqa/yF7V+4t+TK+G/ovs1Qh/lbGD/iJjYvtLuzGBWP8qY371uP+UsTD/Vcb6
1zZiYmP6q4z9r7qA/ks9Xn34L2WAmNj/gsfK9te2ZGVj+osNWNmZ/lI3Nnr6v8oY/mrn30LtP2Us
/+pX9rY6JuYGtq8xi0An/xqtr6HHiEAnbmloBWR5hQPKvQainJWVPfAX0G9XMrYGjr9FJuOvuBYX
[...]
Here is the same attachment sent without signing:
[...]
From: Rieder Dietmar <dietmar.rieder@tugraz.at>
To: Didi Rieder <dietmar.rieder@tugraz.at>
Subject: test 2
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_5dltnmb2cx8o"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs)
X-Organization: Graz University of Technology
X-Originating-IP: 129.27.145.220
X-Scanned-By: MIMEDefang 2.52 on 129.27.3.25
X-Scanned-By: milter-sender/1.8.900 (mail [129.27.3.25]); Tue, 28 Mar
2006 23:57:26 +0200
X-Scanned-By: MIMEDefang 2.52 on 129.27.10.18
This message is in MIME format.
--=_5dltnmb2cx8o
Content-Type: text/plain;
charset=UTF-8;
DelSp="Yes";
format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
test 2
--
___________________________________________
D i e t m a r R i e d e r, Mag.
dietmar.rieder@tugraz.at | PGPKey ID: 3431D0B0
http://genome.tugraz.at
Tel: +43 316 873 5339 - Fax: +43 316 873 5340
--=_5dltnmb2cx8o
Content-Type: application/zip;
name="papers.zip"
Content-Disposition: attachment;
filename="papers.zip"
Content-Transfer-Encoding: base64
UEsDBAoAAAAAAGOLfDQAAAAAAAAAAAAAAAAHABUAcGFwZXJzL1VUCQADyVUpRNxVKURVeAQA9AH0
AVBLAwQUAAAACAD0stYwly/TBUi+BQAZAwYAFgAVAHBhcGVycy9pYm9ycmEtMTk5Ni5wZGZVVAkA
A0yV2ECisOBDVXgEAPQB9AHE/AVUHcvWNgovHBKc4LZwEhwW7g6BoMHd3T24BAnu7hrcXYMHd3d3
[...]
This opens/downloads correctly, whereas the signed one just returns a
blank page.
file once PGP signed and once without signing. In the first case it
is not possible to open or download the zip file with IMP again. I
just get an empty window.
text/plain part? This obviously won't work if the zip part is still
being sent as text/plain in Q-P as we (on purpose) don't send Q-P data
binary safe. See e.g.
Bug 3565.This works absolutely fine for me (the zip file is being attached as
application/x-zip-compressed and being sent base64 encoded).
New Attachment: papers.zip
But there is still a Problem, when I send (using IMP) the same zip
file once PGP signed and once without signing. In the first case it
is not possible to open or download the zip file with IMP again. I
just get an empty window.
State ⇒ Assigned
But there is still a Problem, when I send (using IMP) the same zip
file once PGP signed and once without signing. In the first case it is
not possible to open or download the zip file with IMP again. I just
get an empty window.
State ⇒ Not A Bug
sent signed by PGP or S/MIME
here is an example of a test mail I recieved from them:
[....]
Subject: Test
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_11edkqj6am74"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs)
X-Organization: Graz University of Technology
X-Originating-IP: 129.27.6.3
X-Scanned-By: MIMEDefang 2.52 on 129.27.3.25
X-Scanned-By: milter-sender/1.8.900 (mail [129.27.3.25]); Tue, 28 Mar
2006 11:24:47 +0200
X-Scanned-By: MIMEDefang 2.52 on 129.27.10.18
This message is in MIME format.
--=_11edkqj6am74
Content-Type: text/plain;
charset=UTF-8;
DelSp="Yes";
format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Test mit UTF-8, ohne S/MIME
Reinfried
--=_11edkqj6am74
Content-Type: text/plain;
charset=ISO-8859-1;
name="test.zip"
Content-Disposition: attachment;
filename="test.zip"
Content-Transfer-Encoding: quoted-printable
PK=03=04=14=00=00=00=08=00=C3Z|4=9C=B6=15
=FF=07=00=00=1A.=00=00=0F=00=15=00test/mnenhy.rdfUT=09=00=03=3D=00)D=3D=00)D=
Ux=04=00=E9=03
[.......]
So it seams, that the attachment does not get encoded in the right way.
sent signed by PGP or S/MIME
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ zip attachments get broken when sending as PGP/SMIME signed
Type ⇒ Bug
sent signed by PGP or S/MIME