[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: Fwd: [kde-linux] Kmail and gpg plugin
From: Martin Fahrendorf <fahrendorf () helix-gmbh ! net>
Date: 2003-03-24 6:31:15
[Download RAW message or body]
[Attachment #2 (multipart/mixed)]
Am Sonntag, 23. März 2003 13:15 schrieb Ingo Klöcker:
> On Saturday 22 March 2003 09:06, Martin Fahrendorf wrote:
> > And there is another strange thing, every time I send a mail with
> > attachments, the signature from the sent mail is bad, but my local
> > copy is ok. I checked it at my home installation. It is the same.
>
> It's very likely that some mail server mangles the headers of the signed
> message part. Of course, this renders the signature invalid. Please
> make a diff of sent and received message. Maybe we can find a
> workaround for this problem.
>
> Regards,
> Ingo
OK, here the testmails with attachment. testmail-send is from my local
sendmail folder and testmail-receive is the one I got from my mailserver (it
is postfix by the way). I hope this helps. Testmail-send shows a valid
signature and testmail-receive shows a invalid one.
Martin
--
------------------------------------------------------------
H E L I X Gesellschaft für Software & Engineering mbH
------------------------------------------------------------
Hanauer Landstrasse 52 Telefon (069) 4789 35-30
60314 Frankfurt am Main Telefax (069) 4789 35-44
------------------------------------------------------------
http://www.helix-gmbh.net info@helix-gmbh.net
------------------------------------------------------------
["testmail-receive.txt" (text/plain)]
Return-Path: <fahrendorf@helix-gmbh.net>
X-Sieve: cmu-sieve 2.0
Received: by sol.helix-gmbh.net (Postfix)
id 345A86EE9D; Mon, 24 Mar 2003 07:21:19 +0100 (CET)
Delivered-To: fahrendorf@helix-gmbh.net
Received: from gaia.helix-gmbh.net (gaia.helix-gmbh.net [10.2.64.32])
by sol.helix-gmbh.net (Postfix) with ESMTP id 22E7F6EE9A
for <fahrendorf@helix-gmbh.net>; Mon, 24 Mar 2003 07:21:19 +0100 (CET)
From: Martin Fahrendorf <fahrendorf@helix-gmbh.net>
Organization: Helix GmbH
To: fahrendorf@helix-gmbh.net
Subject: Test Attachment
Date: Mon, 24 Mar 2003 07:21:15 +0100
User-Agent: KMail/1.5.1
MIME-Version: 1.0
Content-Type: multipart/signed;
protocol="application/pgp-signature";
micalg=pgp-sha1;
boundary="Boundary-03=_ePqf+reJJEAehSs";
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200303240721.18646.fahrendorf@helix-gmbh.net>
X-UID: 13534
--Boundary-03=_ePqf+reJJEAehSs
Content-Type: multipart/mixed;
boundary="Boundary-01=_bPqf+UDwpXA84Xr"
Content-Transfer-Encoding: 7bit
Content-Description: signed data
Content-Disposition: inline
--Boundary-01=_bPqf+UDwpXA84Xr
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: body text
Content-Disposition: inline
Subject:
Here is a attachment.
=2D-=20
=2D-----------------------------------------------------------
H E L I X Gesellschaft f=FCr Software & Engineering mbH
=2D-----------------------------------------------------------
Hanauer Landstrasse 52 Telefon (069) 4789 35-30
60314 Frankfurt am Main Telefax (069) 4789 35-44
=2D-----------------------------------------------------------
http://www.helix-gmbh.net info@helix-gmbh.net
=2D-----------------------------------------------------------
--Boundary-01=_bPqf+UDwpXA84Xr
Content-Type: text/plain;
charset="us-ascii";
name="kmail-sigok.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="kmail-sigok.txt"
kmail: set Msg, force = false
*** SIGPIPE *** (ignored, pid = 5778)
kmail: Whoa: x 9, sorted_count 8, discovered_count 0, count 9
kmail: set Msg, force = false
kmail: enable progress
kmail: end 20476[virtual void KMHeaders::setFolder(KMFolder*, bool)]
kmail: checking mail, server busy
kmail: processNextCheck
kmail: processing next mail check, server busy
kmail: KMFolderImap::checkValidity
kmail: (141105142, last 0) Test Martin Fahrendorf
kmail: set Msg, force = true
kmail:
#######
#######
####### parseMsg(KMMessage* aMsg == aMsg, bool onlyProcessHeaders == false
#######
#######
kmail:
-----> First body part *was* found, filling the Mime Part Tree
kmail:
partNode::partNode() explicitType == DwMime::kTypeUnknown
kmail:
kmail:
partNode::partNode() explicitType == DwMime::kTypeUnknown
kmail:
kmail: Inserting one item into MimePartTree
kmail: Content-Type: multipart/signed
kmail: Inserting one item into MimePartTree
kmail: Content-Type: application/pgp-signature
kmail: Inserting one item into MimePartTree
kmail: Content-Type: text/plain
kmail: KMMessage::emailAddrAsAnchor('Martin Fahrendorf <fahrendorf@helix-gmbh.net>') \
returns:
--><a href="mailto:Martin%20Fahrendorf%20%3Cfahrendorf%40helix-gmbh.net%3E">Martin \
Fahrendorf <fahrendorf@helix-gmbh.net></a><--
kmail: KMMessage::emailAddrAsAnchor('fahrendorf@helix-gmbh.net') returns:
--><a href="mailto:fahrendorf%40helix-gmbh.net">fahrendorf@helix-gmbh.net</a><--
kmail:
**
** KMReaderWin::parseObjectTree( node OK, showOneMimePart: FALSE ) **
**
kmail: * multipart *
kmail: signed
kmail: signed has children
kmail: OpenPGP signature found
kmail: signed has data + signature
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: processing Multipart Signed data
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: going to call CRYPTPLUG \
/usr/local/lib/cryptplug/gpgme-openpgp.so
kmail: Converting LF to CRLF (see RfC 2633, 3.1.1 Canonicalization)
kmail: done.
gpgmeplug checkMessageSignature status flags: 3
gpgmeplug checkMessageSignature found email: fahrendorf@helix-gmbh.net
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: returned from CRYPTPLUG
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: found extended sigMeta info
kmail:
key id: 046D7DF1C9DAC8A4
key trust: 5
signer: <fahrendorf@helix-gmbh.net>
kmail: KMMessage::emailAddrAsAnchor('<fahrendorf@helix-gmbh.net>') returns:
--><a href="mailto:%3Cfahrendorf%40helix-gmbh.net%3E">fahrendorf@helix-gmbh.net</a><--
kmail:
**
** KMReaderWin::parseObjectTree( node OK, showOneMimePart: FALSE ) **
**
kmail: * text *
kmail: plain
kmail: default
kmail:
**
** KMReaderWin::parseObjectTree( node OK, showOneMimePart: FALSE ) **
**
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: done, returning FALSE
kmail:
KMMsgEncryptionState: 78
kmail:
KMMsgEncryptionState: 78
kmail:
KMMsgEncryptionState: 78
kmail:
KMMsgSignatureState: 70
kmail: KMReaderWin - finished parsing and displaying of message.
kmail: KMFolderImap::slotCheckValidityResult
kmail: processNextCheck
kmail: checked mail, server ready
--Boundary-01=_bPqf+UDwpXA84Xr--
--Boundary-03=_ePqf+reJJEAehSs
Content-Type: application/pgp-signature
Content-Description: signature
Subject:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+fqPeBG198cnayKQRAgRoAKCWvDmtgFvDmxpwqkMSujFckqUslgCglNcC
4BC4b9d5EEEC5tZskhomx8U=
=VKki
-----END PGP SIGNATURE-----
--Boundary-03=_ePqf+reJJEAehSs--
["testmail-send.txt" (text/plain)]
From: Martin Fahrendorf <fahrendorf@helix-gmbh.net>
Organization: Helix GmbH
To: fahrendorf@helix-gmbh.net
Subject: Test Attachment
Date: Mon, 24 Mar 2003 07:21:15 +0100
User-Agent: KMail/1.5.1
MIME-Version: 1.0
Content-Type: multipart/signed;
protocol="application/pgp-signature";
micalg=pgp-sha1;
boundary="Boundary-03=_ePqf+reJJEAehSs";
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200303240721.18646.fahrendorf@helix-gmbh.net>
Status: RO
X-Status: S
X-KMail-EncryptionState:
X-KMail-SignatureState:
X-UID: 471
--Boundary-03=_ePqf+reJJEAehSs
Content-Type: multipart/mixed;
boundary="Boundary-01=_bPqf+UDwpXA84Xr"
Content-Transfer-Encoding: 7bit
Content-Description: signed data
Content-Disposition: inline
--Boundary-01=_bPqf+UDwpXA84Xr
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: body text
Content-Disposition: inline
Subject:
Here is a attachment.
=2D-=20
=2D-----------------------------------------------------------
H E L I X Gesellschaft f=FCr Software & Engineering mbH
=2D-----------------------------------------------------------
Hanauer Landstrasse 52 Telefon (069) 4789 35-30
60314 Frankfurt am Main Telefax (069) 4789 35-44
=2D-----------------------------------------------------------
http://www.helix-gmbh.net info@helix-gmbh.net
=2D-----------------------------------------------------------
--Boundary-01=_bPqf+UDwpXA84Xr
Content-Type: text/plain;
charset="us-ascii";
name="kmail-sigok.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="kmail-sigok.txt"
kmail: set Msg, force = false
*** SIGPIPE *** (ignored, pid = 5778)
kmail: Whoa: x 9, sorted_count 8, discovered_count 0, count 9
kmail: set Msg, force = false
kmail: enable progress
kmail: end 20476[virtual void KMHeaders::setFolder(KMFolder*, bool)]
kmail: checking mail, server busy
kmail: processNextCheck
kmail: processing next mail check, server busy
kmail: KMFolderImap::checkValidity
kmail: (141105142, last 0) Test Martin Fahrendorf
kmail: set Msg, force = true
kmail:
#######
#######
####### parseMsg(KMMessage* aMsg == aMsg, bool onlyProcessHeaders == false
#######
#######
kmail:
-----> First body part *was* found, filling the Mime Part Tree
kmail:
partNode::partNode() explicitType == DwMime::kTypeUnknown
kmail:
kmail:
partNode::partNode() explicitType == DwMime::kTypeUnknown
kmail:
kmail: Inserting one item into MimePartTree
kmail: Content-Type: multipart/signed
kmail: Inserting one item into MimePartTree
kmail: Content-Type: application/pgp-signature
kmail: Inserting one item into MimePartTree
kmail: Content-Type: text/plain
kmail: KMMessage::emailAddrAsAnchor('Martin Fahrendorf <fahrendorf@helix-gmbh.net>') \
returns:
--><a href="mailto:Martin%20Fahrendorf%20%3Cfahrendorf%40helix-gmbh.net%3E">Martin \
Fahrendorf <fahrendorf@helix-gmbh.net></a><--
kmail: KMMessage::emailAddrAsAnchor('fahrendorf@helix-gmbh.net') returns:
--><a href="mailto:fahrendorf%40helix-gmbh.net">fahrendorf@helix-gmbh.net</a><--
kmail:
**
** KMReaderWin::parseObjectTree( node OK, showOneMimePart: FALSE ) **
**
kmail: * multipart *
kmail: signed
kmail: signed has children
kmail: OpenPGP signature found
kmail: signed has data + signature
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: processing Multipart Signed data
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: going to call CRYPTPLUG \
/usr/local/lib/cryptplug/gpgme-openpgp.so
kmail: Converting LF to CRLF (see RfC 2633, 3.1.1 Canonicalization)
kmail: done.
gpgmeplug checkMessageSignature status flags: 3
gpgmeplug checkMessageSignature found email: fahrendorf@helix-gmbh.net
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: returned from CRYPTPLUG
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: found extended sigMeta info
kmail:
key id: 046D7DF1C9DAC8A4
key trust: 5
signer: <fahrendorf@helix-gmbh.net>
kmail: KMMessage::emailAddrAsAnchor('<fahrendorf@helix-gmbh.net>') returns:
--><a href="mailto:%3Cfahrendorf%40helix-gmbh.net%3E">fahrendorf@helix-gmbh.net</a><--
kmail:
**
** KMReaderWin::parseObjectTree( node OK, showOneMimePart: FALSE ) **
**
kmail: * text *
kmail: plain
kmail: default
kmail:
**
** KMReaderWin::parseObjectTree( node OK, showOneMimePart: FALSE ) **
**
kmail:
KMReaderWin::writeOpaqueOrMultipartSignedData: done, returning FALSE
kmail:
KMMsgEncryptionState: 78
kmail:
KMMsgEncryptionState: 78
kmail:
KMMsgEncryptionState: 78
kmail:
KMMsgSignatureState: 70
kmail: KMReaderWin - finished parsing and displaying of message.
kmail: KMFolderImap::slotCheckValidityResult
kmail: processNextCheck
kmail: checked mail, server ready
--Boundary-01=_bPqf+UDwpXA84Xr--
--Boundary-03=_ePqf+reJJEAehSs
Content-Type: application/pgp-signature
Content-Description: signature
Subject:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+fqPeBG198cnayKQRAgRoAKCWvDmtgFvDmxpwqkMSujFckqUslgCglNcC
4BC4b9d5EEEC5tZskhomx8U=
=VKki
-----END PGP SIGNATURE-----
--Boundary-03=_ePqf+reJJEAehSs--
["testmail-diff.txt" (text/plain)]
*** testmail-receive.txt 2003-03-24 07:23:07.000000000 +0100
--- testmail-send.txt 2003-03-24 07:23:40.000000000 +0100
***************
*** 1,11 ****
- Return-Path: <fahrendorf@helix-gmbh.net>
- X-Sieve: cmu-sieve 2.0
- Received: by sol.helix-gmbh.net (Postfix)
- id 345A86EE9D; Mon, 24 Mar 2003 07:21:19 +0100 (CET)
- Delivered-To: fahrendorf@helix-gmbh.net
- Received: from gaia.helix-gmbh.net (gaia.helix-gmbh.net [10.2.64.32])
- by sol.helix-gmbh.net (Postfix) with ESMTP id 22E7F6EE9A
- for <fahrendorf@helix-gmbh.net>; Mon, 24 Mar 2003 07:21:19 +0100 (CET)
From: Martin Fahrendorf <fahrendorf@helix-gmbh.net>
Organization: Helix GmbH
To: fahrendorf@helix-gmbh.net
--- 1,3 ----
***************
*** 20,26 ****
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200303240721.18646.fahrendorf@helix-gmbh.net>
! X-UID: 13534
--Boundary-03=_ePqf+reJJEAehSs
--- 12,22 ----
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200303240721.18646.fahrendorf@helix-gmbh.net>
! Status: RO
! X-Status: S
! X-KMail-EncryptionState:
! X-KMail-SignatureState:
! X-UID: 471
--Boundary-03=_ePqf+reJJEAehSs
***************
*** 165,168 ****
-----END PGP SIGNATURE-----
--Boundary-03=_ePqf+reJJEAehSs--
-
--- 161,163 ----
[Attachment #8 (application/pgp-signature)]
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic