From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 235976DE0F1A for ; Thu, 4 Apr 2019 08:32:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BQmc5rfgffOk for ; Thu, 4 Apr 2019 08:32:48 -0700 (PDT) X-Greylist: delayed 305 seconds by postgrey-1.36 at arlo; Thu, 04 Apr 2019 08:32:47 PDT Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by arlo.cworth.org (Postfix) with ESMTPS id 6EC636DE0ECA for ; Thu, 4 Apr 2019 08:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554391965; bh=g/PoMKr6rM6RLeHrltY9AX9ejfqt+TfEvtxS2syKcgA=; h=X-UI-Sender-Class:From:To:Subject:Date; b=PgCmG08e9EQuvcebQZXTx/dRo25xWZhadK5EnJbJ96TsfS8BqUQiEtYGQ8EdVFSnU kqyziLSQFXAMp55MpDicRDn8BlWmAcmON1PonO9JFgCQefby1sjsAfdK+TLTcfaDgc /xrwOpH0ewfHMITUtM/vkE23vVF6JRp57ixRDRkc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost ([109.40.0.127]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LuP19-1gkTCK3y0F-011fv4 for ; Thu, 04 Apr 2019 17:27:37 +0200 From: Rainer Gemulla To: notmuch@notmuchmail.org Subject: notmuch-show: Verification via epa-verify-region affected by formatting hooks Date: Thu, 04 Apr 2019 17:19:22 +0200 Message-ID: <87h8bd23yd.fsf@gemma> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:qWKjC5XPMhZEHeM3b+09RBXe2GesDyk3ZYUsXuzJfghz1dg8e1f 6bxn9pMUXDWzSYlrSAobXPJAvIE1VW+nvHhWvuutvAcPobB04sqOcrk+/lNXniyx7aNL+S/ VANkaMIq47gY5lBZsBdiyYxs/uk2kZvy0xQAlhGb7jkiKt3eCpONUsF/p7YJwPj0kyRXMDr rGLxHK2jAzBm0VIDJ60pg== X-UI-Out-Filterresults: notjunk:1;V03:K0:8ZSQYTLvUSI=:JEGgo1kaFCwKuiBsmOfNWl MNBU2E8dN/nQRPT5H5s77RGbfWc3Fa3vjxrafpVx8Md5Y+ExSKvylgPuJ22yfQGVxRgiMsZKm BKkTTi/0yKbUPOmYhX0UR4slEmVBMUY0pstLZ8MvuMHaO8qxWCkGN067aUQFXxZSE8ShnSWRn bil41IQICWOMDh0hJO9XVjgNRE0mtJtqo36T3LBfm2ES30KW0GVGnx+sBdpSZHwWpa2pVfo01 dvRJlLb1kpR53ZUoweqVfp6mMp6o9uZxDSwqv4PE/PrRvobGrTz2v3HSH9EsN993AioO2nTdO lofIQMzOla2ozXFZBLAPIQbKtugC6dyqoxnS/0clQ/Be0Uxyg+RoYZirwAMj7FdkIhO+H/R2q /WKa7s00wWvN3TB4mVXaxufbBfIdmg+QkrOiqnBNOv28ATZFnxTrRyhnncGWzXk4KLBQfY8Au u3ih03ENuDJEWxOI543cl56fUyYQJmAHMII1N7l1yKWuTyl1oVCOZAjPnANH2qbT8R6JIjFtp xxha1UPB/1LceMpvjJy+qP4bIHDunGfYES8SR0WuJhSrR7Ed+kYN7gHMtF7W5gWdVfhPWzapv itsZGcdRHrKcyYbz7XBkH9up46BUV6HeAcCkHVfBb7PWX4GaYKCbC0n8k8mzyiOACiiGSm6Il HwJ+oUY+uQT2Pj30iSQpPX7B+SReSQeJGV8clbkzSXoyMnzBS6AzmSkJvB+lygSBaJQGvuHAF BSK/jDwaFoRSJdG9XugHuE464eiQtg8XQD1NTSO9SKAHFggiFpOVh3VEmaYPq9ehEnjJOV1Dh BUpDh6Tl19VRVco+3oxBhTqTyUGZx0pNWKTMEr6ZuMrN/CKx1oub7dCOpMHcsBneMxiCs7rJz ttlxA8sZHAISoR2Qz9L7qYb6k/zqrHX8Jc9B1rnIYgBW+kWO+uxUmOgwt2oehu X-Mailman-Approved-At: Fri, 05 Apr 2019 05:46:47 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 15:32:49 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi all, when a message contains an text/plain part that is signed via inline pgp an= d shown in notmuch-show-mode, verification of that part's signature via epa= -mail-verify or epa-verify-region fails.=20 The reason is that the hooks in notmuch-show-insert-text/plain-hook modify = the text (and thus the signature becomes invalid). Calling notmuch-show-pip= e-part with "gpg --verify" works as expected and verifies the correctness o= f the signature. Not sure what to do about this, but I find the current behavior confusing. = The notmuch emacstips documentation also (implicitly) states that verificat= ion of inline pgp can be done via the epa-* functions.=20 One option may be to document this behavior. Another one to add a function = like notmuch-crypto-verify-part (which is what I currently do). And/or one = may be verify each inline pgp signature part by default (when crypto proces= sing is enabled) and add a "crypto button". Best & thanks, Rainer Gemulla --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmtshwn9RGtTGGzefdKcOvhKikVsFAlymIHoACgkQdKcOvhKi kVspNw//W/Md4002YZPQZbzAFJguHsVcxXmeE87Mslp+wWThRhxWxKzDmGsrNWwj ENKOhER6BsxRYl6G/dwkRqI+VitmAGInkb2nPKb3WTpCssK0fueYSgdPiqzz/Vux +dtj6QtZm68r8sKTr96qTAAPsKE7rR4ylK8Ef/kJhFv+sCYe89D3v4FLUGIe5H6+ 2g84uaeF4ZTzL0kNK+s7/Etg1Jh/9B69ghT0x+JAzV4nJH3iU2KmeCSmI8tavjhF 7hLgcqxaE+UMRLDyNvqaBmifWpQYiGBNh3YINRsj2Ke1uS0jJNIULI1UiUM//UXA uRC9z1x+BJ/KgIwtWt4PhK77uwNLdRn8yCmb24ZEx4G9ZOrbMYGDWQc4W7iqCImq onBTEtsHS+jjV8EaWdpvI4xt4NFzNSGqxqpsTSkGZFM/kvP+k22WyYkwH+8Qx43O DwN2Ed1k3yhrPn5L14uyfO8jyeNR39pCXC90DxDNmRNy0nknoQJBTAr+WPWQlCPR BPsTgEGbiv1BRHzCQBly6nLBmlIeurFAlRgd5E2tQID3L6cGRdFfm7GreY2No/FZ l3TdEvXUJbbRwdihVBNfL6Q7wmTBs93wwyY9WJ/78x8u189rBC4P2ZbM3Iq84N5I Z68RGvGjsoBZwAQAPeQEZLPHttrVW4dJbMEpJ+3ppCgwsi5LYO8= =HbBF -----END PGP SIGNATURE----- --=-=-=--