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 434D36DE02B0 for ; Mon, 1 Oct 2018 04:02:04 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=5 tests=[AWL=0.013, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-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 qBKbaggGbCkT for ; Mon, 1 Oct 2018 04:02:03 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id A06076DE028C for ; Mon, 1 Oct 2018 04:02:03 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1g6vxi-0007Hu-S1; Mon, 01 Oct 2018 07:02:02 -0400 Received: (nullmailer pid 18521 invoked by uid 1000); Mon, 01 Oct 2018 11:02:01 -0000 From: David Bremner To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH v2 3/4] emacs: Add notmuch-crypto-gpg-program and use it In-Reply-To: References: <20180907112920.3130-1-dme@dme.org> <20180907112920.3130-4-dme@dme.org> <871s9b2p8a.fsf@tethera.net> Date: Mon, 01 Oct 2018 08:02:01 -0300 Message-ID: <87mury0w2e.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 01 Oct 2018 11:02:04 -0000 David Edmondson writes: > On Sunday, 2018-09-30 at 08:34:29 -03, David Bremner wrote: > >> David Edmondson writes: >> >>> Allow the user to specify the gpg program to use when retriving keys, >>> etc., defaulting to the value of `epg-gpg-program'. >> >> typo in retriving. > > Will fix. > >> More interestingly, would you mind documenting the use case in the >> commit message? I'm unclear on a couple points >> >> - why one needs a different gpg for key retrieval > > I want to use =E2=80=9Cgpg=E2=80=9D for most operations that deal with en= cryption within > emacs, but when using notmuch remotely over an ssh connection (that is > the UI and database on different machines) I need to update the keyring > on the database machine so that notmuch itself sees the key, not the > keyring on my local machine (arguably I need to update both, but hey), > so use =E2=80=9Cssh gpg=E2=80=9D instead. > >> - whether the new variable is just for key retrieval, or as the name >> notmuch-crypto-gpg-program suggests, all crypto operations from notmuc= h. > > Just for key retrieval. I guess renaming the variable and documenting it as used only for key retrieval would help both questions here.