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 BACC26DE168B for ; Tue, 12 Jun 2018 07:00:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.084 X-Spam-Level: X-Spam-Status: No, score=-0.084 tagged_above=-999 required=5 tests=[AWL=-0.094, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] 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 OgGZXpPMPOn6 for ; Tue, 12 Jun 2018 07:00:29 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id EDE6C6DE166C for ; Tue, 12 Jun 2018 07:00:28 -0700 (PDT) Received: from fifthhorseman.net (unknown [IPv6:2001:470:1f07:60d:f004:72ff:fecc:fda9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 08CA6F99A; Tue, 12 Jun 2018 10:00:25 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 6FCEE2054B; Tue, 12 Jun 2018 10:00:22 -0400 (EDT) From: Daniel Kahn Gillmor To: Jameson Graef Rollins , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: use new show --decrypt=stash feature in emacs UI In-Reply-To: <20180611230900.11211-1-jrollins@finestructure.net> References: <20180611230900.11211-1-jrollins@finestructure.net> Date: Tue, 12 Jun 2018 10:00:18 -0400 Message-ID: <878t7k5clp.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Tue, 12 Jun 2018 14:00:29 -0000 --=-=-= Content-Type: text/plain On Mon 2018-06-11 16:09:00 -0700, Jameson Graef Rollins wrote: > This just changes the show --decrypt flag to "stash" in the emacs UI, > so that session keys will be stashed in the database when viewing > encrypted messages that have not previously been decrypted. As > always, this will only happen if the notmuch-crypto-process-mime > customization variable is set to "true". I'm not convinced that this is the right approach. In particular, sending "--decrypt=stash" requires that the notmuch database is opened read/write, which isn't always desirable. (it'd be nice to be able to use notmuch-emacs to browse a notmuch archive without locking the notmuch db or even needing read/write access to the database) perhaps we need a third setting for notmuch-crypto-process-mime besides nil and t instead? --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTTaP514aqS9uSbmdJsHx7ezFD6UwUCWx/R8wAKCRBsHx7ezFD6 U9oIAQC52VmRXxS6oeiIksurlFMICsqlUm6ChpIHc8u7LoQX/wD7Bj4EnnXZ7GWb B8mmDLp1o1M1DVHf9EG6PCP6V6koNQg= =AdsR -----END PGP SIGNATURE----- --=-=-=--