On 08/12/2014 02:33 PM, Peter Haufschild wrote: > Hello, > I could encrypt and decrypt an email successful. :-) > But I have Problems with the test of the signature. > When I try > > gpg --verify signature.asc > gpg: no signed data > gpg: can't hash datafile: No data
You cannot directly use gpg to verify a PGP/MIME signed email. You need to split the message part and the signature part into separate files and then validate. The problem is that it is easy to make a minor mistake, for example add an extra newline, which will result in a broken signature. It's much easier to open the eml with a tool that can validate a signature (for example Thunderbird) Kind regards, Martijn Brinkers > > or I save the Massage in Outlook and the signature and try to verify both > with cleopatra. > > What's my mistake? > > Could it related to some later happend changes in the mail headers? I do > amavis dkim and so on after chiphermail for outgoing mails. > > Received: from mail.dilax.de (172.16.0.52) by post01.dilax.com (172.16.0.41) > with Microsoft SMTP Server (TLS) id 14.2.347.0; Mon, 11 Aug 2014 18:50:56 > +0200 > Received: from localhost (localhost [127.0.0.1]) by mail.dilax.de (Postfix) > with ESMTP id 2817C1600C2 for <[email protected]>; Mon, 11 Aug > 2014 > 18:50:47 +0200 (CEST) > X-Virus-Scanned: amavisd-new at dilax.com > Authentication-Results: mail.dilax.de (amavisd-new); dkim=pass (4096-bit key) > header.d=haufschild.de > Received: from mail.dilax.de ([127.0.0.1]) by localhost (mail.dilax.de > [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LKan6XL-7Mj5 for > <[email protected]>; Mon, 11 Aug 2014 18:50:21 +0200 (CEST) > X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 > Received: from mx1.haufschild.de (h-213.61.117.252.host.de.colt.net > [213.61.117.252]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 > (256/256 bits)) (No client certificate requested) by mail.dilax.de > (Postfix) > with ESMTPS id 11F711600B7 for <[email protected]>; Mon, 11 Aug > 2014 > 18:50:20 +0200 (CEST) > Received: from localhost (localhost [127.0.0.1]) by mx1.haufschild.de > (Postfix) with ESMTP id 6D77DE0104 for <[email protected]>; Mon, > 11 > Aug 2014 18:50:20 +0200 (CEST) > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=haufschild.de; h= > accept-language:content-type:content-type:mime-version:subject > :subject:message-id:from:from:date:date:received:received > :received:received:received; s=peter-haufschild-it-beratung; t= > 1407775775; bh=3WU1DWvdqPZLrJZNtXos850I+I0Wlcrqg2dsW9Mx1XY=; b=J > +i/xWk199H5va0q3G/P+pK5Ttt7078OgFPExSdyRIxs8N1lUdG8VwVdLQF7rVP3n > JZG84nZW62ZSSa9oxrJm3x9RBQArOmRhUTHS4KP5lYUOw92CPMzksG1OQfAVpxU8 > 97JIoeuxkAt2D0S2k3QzE2BRbx/omF1gmA3MvoqVwn95hiP2DYQKNUx8CImozqzf > TKuwsIRNvTFakD8epfT9PDxYoZLMghqqp/GEwSQWgCy3yj1PHRiu0gT1k8QivwR5 > Kq5v+fJZYOz8GTz2TCfNxeoJxPAdQzywX7MWsNeUFy4NP9MIGzyk3Hn28BecZEvm > uSUNTVWcGJ9lrCmMTWrJ6Gclcb+NA3co2GXjALqC9ViHciGin1iHUl7U7MWGeb9v > lNHtGRLUU+kFHtV1nk6o4T4EDhtvssx9Cv63ppVojggjzKZTH6JHufV0OLp0Pixs > XpIUXQ0mKnQY5sBbbMaFLA5UUa760ku3MvOOF/VMjr2k7X9Z+tJguxE+dWOv2u3p > ySLoQTqZVjFem+c0mRDDJTujOrL7DwUTKpvK++80qZxwoVXDhkpGXQccQpAq7aXC > hA0DrCUmk9uPJuzQP25Q7cJhDicvm78YzOOYO8o0yPiCF3IViiTcfke3u2O0KMFc > CZURQgq1CrGB2leOsKwXLJuE6bXnAlFy9UbYG2TW38= > X-Virus-Scanned: amavisd-new at haufschild.de > Received: from mx1.haufschild.de ([127.0.0.1]) by localhost > (mx1.haufschild.de > [127.0.0.1]) (amavisd-new, port 10034) with ESMTP id pPTwCexXUzES for > <[email protected]>; Mon, 11 Aug 2014 18:49:35 +0200 (CEST) > Received: from gpgsmime-gate.haufschild.de (unknown [192.168.69.42]) by > mx1.haufschild.de (Postfix) with ESMTP id C363BDFA59 for > <[email protected]>; Mon, 11 Aug 2014 18:49:35 +0200 (CEST) > Received: from gpgsmime-gate.haufschild.de (localhost [127.0.0.1]) by > gpgsmime-gate.haufschild.de (DJIGZO) with ESMTP id 7F6499F876 for > <[email protected]>; Mon, 11 Aug 2014 18:49:35 +0200 (CEST) > Received: from exchang01.haufschild.de (unknown [192.168.69.3]) by > gpgsmime-gate.haufschild.de (DJIGZO) with ESMTP id 54C639F876 for > <[email protected]>; Mon, 11 Aug 2014 18:49:33 +0200 (CEST) > Received: from exchang01.haufschild.de ([fe80::ada4:8ec7:e13f:1712]) by > exchang01.haufschild.de ([fe80::ada4:8ec7:e13f:1712%13]) with mapi id > 14.02.0247.003; Mon, 11 Aug 2014 18:49:31 +0200 > Date: Mon, 11 Aug 2014 16:49:30 +0000 > From: Peter Haufschild <[email protected]> > To: Peter Haufschild <[email protected]> > Message-ID: <[email protected]> > Subject: > MIME-Version: 1.0 > Content-Type: multipart/signed; micalg=pgp-sha512; > protocol="application/pgp-signature"; > boundary="----=_Part_74_1849598840.1407775775335" > Thread-Index: Ac+1hDikd/5FRGGZR9qHTq+WC/4ZQQ== > Accept-Language: de-DE, en-US > X-MS-Has-Attach: > X-MS-TNEF-Correlator: > Return-Path: [email protected] > X-MS-Exchange-Organization-AuthSource: EXCHANGE01.dilax.com > X-MS-Exchange-Organization-AuthAs: Anonymous > > > Best Regards Peter > > > > Peter Haufschild > Hanns Eisler Str. 2 > 10409 Berlin > Mobil: +49 170 7657723 > > > > _______________________________________________ > Users mailing list > [email protected] > https://lists.djigzo.com/lists/listinfo/users > -- CipherMail email encryption Open source email encryption gateway with support for S/MIME, OpenPGP and PDF messaging. http://www.ciphermail.com Twitter: http://twitter.com/CipherMail _______________________________________________ Users mailing list [email protected] https://lists.djigzo.com/lists/listinfo/users
