From lurker-index@localhost Fri Sep 23 08:37:30 2016
Return-Path: <owner-mutt-users-M24782@mutt.org>
Received: from lin16.mojsite.com (178.218.164.164:993) by g0n.xdwgrp with
  IMAP4-SSL; 23 Sep 2016 06:37:30 -0000
Envelope-to: miro.rovis@croatiafidelis.hr
Delivery-date: Fri, 23 Sep 2016 08:08:20 +0200
Received: from shtjevan.gbnet.net ([194.70.142.36]:55699 helo=gbnet.net)
	by lin16.mojsite.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
	(Exim 4.87)
	(envelope-from <owner-mutt-users-M24782@mutt.org>)
	id 1bnJeW-0006Gb-QV
	for miro.rovis@croatiafidelis.hr; Fri, 23 Sep 2016 08:08:05 +0200
Received: (qmail 6963 invoked by uid 611); 23 Sep 2016 06:05:00 -0000
Received: (qmail 6894 invoked from network); 23 Sep 2016 06:03:38 -0000
Received: from davin.gbnet.net (194.70.142.37)
  by shtjevan.gbnet.net with ESMTPS (DHE-RSA-AES256-SHA encrypted); 23 Sep 2016 06:03:38 -0000
Received: (qmail 20577 invoked from network); 23 Sep 2016 06:03:13 -0000
Received: from mail-1.fido.net (84.246.192.5)
  by davin.gbnet.net with ESMTPS (DHE-RSA-AES256-SHA encrypted); 23 Sep 2016 06:03:13 -0000
Received: from disorder-1-pt.tunnel.tserv3.fmt2.ipv6.he.net ([2001:470:1f04:51a::2] helo=acedia.primate.net)
	by mail-1.fido.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA:256)
	(Exim 4.86)
	(envelope-from <itz@primate.net>)
	id 1bnJZo-0007VV-1Y
	for mutt-users@mutt.org; Fri, 23 Sep 2016 07:03:13 +0100
Received: from acedia.primate.net (localhost [127.0.0.1])
	by acedia.primate.net (8.15.2/8.15.2/Debian-6) with ESMTPS id u8N635WT030619
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
	for <mutt-users@mutt.org>; Thu, 22 Sep 2016 23:03:10 -0700
Received: (from itz@localhost)
	by acedia.primate.net (8.15.2/8.15.2/Submit) id u8N630aA030604
	for mutt-users@mutt.org; Thu, 22 Sep 2016 23:03:00 -0700
X-Authentication-Warning: acedia.primate.net: itz set sender to itz@primate.net using -f
Received: from [10.8.78.14] (helo=matica.foolinux.mooo.com)
	by ahiker.mooo.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.84_2)
	(envelope-from <itz@primate.net>)
	id 1bnJZb-0001EG-PK
	for mutt-users@mutt.org; Thu, 22 Sep 2016 23:02:59 -0700
Received: from itz by matica.foolinux.mooo.com with local (Exim 4.87)
	(envelope-from <itz@matica.foolinux.mooo.com>)
	id 1bnJZb-00072t-Ds
	for mutt-users@mutt.org; Thu, 22 Sep 2016 23:02:59 -0700
Date: Thu, 22 Sep 2016 23:02:59 -0700
From: Ian Zimmerman <itz@primate.net>
To: mutt-users@mutt.org
Subject: Re: New thread about PGP sigs, part 1: Mutt disagrees with gpg
Message-ID: <20160923054939.26688.09B7716A@matica.foolinux.mooo.com>
Reply-To: mutt-users@mutt.org
Mail-Followup-To: mutt-users@mutt.org
References: <20160922214620.GA4059@matica>
 <20160922235327.GA24981@x2.esmtp.org>
 <20160923020321.19992.1D0420CA@matica.foolinux.mooo.com>
 <20160923030146.GA5094@x2.esmtp.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160923030146.GA5094@x2.esmtp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Received-SPF: pass (mail-1.fido.net: domain of primate.net designates 2001:470:1f04:51a::2 as permitted sender) client-ip=2001:470:1f04:51a::2; envelope-from=itz@primate.net; helo=acedia.primate.net;
X-SPF-Result: mail-1.fido.net: domain of primate.net designates 2001:470:1f04:51a::2 as permitted sender
X-Filter-ID: s0sct1PQhAABKnZB5plbIYAKkrh5rwxlcg22BKDsrZOOCXPCA86NaNMUOKEdtvy1LIlSVjYxKd9o
 YFB5W5dM3eCU7hFHKMKhsTjn2LpSPx3rcxAODBZO2BOkcGk4nUtaCoFxbjkn4j2wmbuMZaTPtfvS
 HONLSNwM3hg96wTMCb7MuoF8+O4nOW1/LrNkEnp1u3gMPBoOkS/2keJj7H49E8qYe4reQDcpl+wi
 Tdhv5z2LyLVKwAG5tn3VKaD9s2DWSN7q6bnS9pzSugPHk7+nGnLYM3A6BXfvel8OEFDbU51GGcS0
 5jgkiHUbDsEEOtjt+L+7RqYmIKy1pzAwQlJ/LOWBOXp8nHKe0R+FkIqN7hnvaGPfye0HD8TtnikE
 nytM9PxMY/zZGDe3cLPrK1e28YdMOxkGP0yM8z6aY72dVlGiAmsvxkPOxnV038SB0TJCttEXQn4A
 vqBFHAVy3LT9EYJM7yNZmUESMKRU0n44PBFP7iQrwXcopL7kWMF6SNzbBW6vVj4DtOtAs4OkWUdh
 3D2pC00DYqwsVH2I0H503SeAbPoHi/zvVGAK2jvr4TbuGb+l42SKJnTkU0Z1DfAjVdNUWr05IAz4
 /cTo+a/AbLE=
X-Report-Abuse-To: spam@master.fido.net
Authentication-Results: fido.net; spf=pass smtp.mailfrom=itz@primate.net
X-FidoGuard-Class: ham
X-FidoGuard-Evidence: Combined (0.15)
X-Recommended-Action: accept
List-Post: <mailto:mutt-users@mutt.org>
List-Unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
Precedence: bulk
Sender: owner-mutt-users@mutt.org
X-PlusHosting-MailScanner-Information: Please contact the ISP for more information
X-PlusHosting-MailScanner-ID: 1bnJeW-0006Gb-QV
X-PlusHosting-MailScanner: Found to be clean
X-PlusHosting-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
	score=-6.299, required 5, autolearn=not spam, BAYES_00 -5.00,
	HEADER_FROM_DIFFERENT_DOMAINS 0.00, KAM_LAZY_DOMAIN_SECURITY 1.00,
	RCVD_IN_DNSWL_MED -2.30)
X-PlusHosting-MailScanner-From: owner-mutt-users-m24782@mutt.org
X-Spam-Status: No
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=

On 2016-09-22 20:01, Claus Assmann wrote:

> You can debug what mutt does:
> 
> set pgp_verify_command="/tmp/v %s %f"
> 
> where /tmp/v is some simple script like:
> 
> cat "$1" >/tmp/sig
> cat "$2" >/tmp/body
> 
> so now you have what mutt considers the body and the signature and
> you can invoke gpg on it yourself, e.g.,
> 
> gpg --verify /tmp/sig /tmp/body
> 
> and you can compare these files with those that you used as input
> for your gpg check.

Thanks, this helped, if only indirectly :P

I have to declare mutt innocent in this instance.  What happened was
that something in the transit or delivery path applied the following
transformations:

1. Where a leading dot was QP-encoded as =2E, unapplied the encoding and
changed it into a literal dot.

2. Reflowed binary base-64 encoded parts from 72 chars per line to 60.

It is not surprising that the signature no longer matches after these
changes :-)

Of course I'd love to hear tips on what software (MTA or MDA) can do
this, but I recognize such talk will be OT.

Unless it _is_ mutt doing this when moving the mail from the new/
maildir subdirectory to cur/.  Possible?  How may I eliminate this possibility?

-- 
Please *no* private Cc: on mailing lists and newsgroups
Why does the arrow on Hillary signs point to the right?
