From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: epg.el: epg--status-GET_LINE not working? Date: Fri, 07 Jul 2017 10:37:37 +0200 Message-ID: <87lgo0bq26.fsf-ueno@gnu.org> References: <87fuenqlp8.fsf@mithlond.arda> <8737a9we4a.wl-neal@walfield.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499416684 17243 195.159.176.226 (7 Jul 2017 08:38:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2017 08:38:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Teemu Likonen , "Neal H. Walfield" , emacs-devel@gnu.org To: "Neal H. Walfield" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 10:37:59 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTOly-0004Cb-Pc for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2017 10:37:58 +0200 Original-Received: from localhost ([::1]:55176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTOm4-0003jF-51 for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2017 04:38:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTOly-0003ix-2P for emacs-devel@gnu.org; Fri, 07 Jul 2017 04:37:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTOlx-0008GQ-5d for emacs-devel@gnu.org; Fri, 07 Jul 2017 04:37:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTOlq-0008EB-St; Fri, 07 Jul 2017 04:37:50 -0400 Original-Received: from du-a.org ([219.94.251.20]:58000 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dTOlp-0002Fs-Nd; Fri, 07 Jul 2017 04:37:50 -0400 In-Reply-To: <8737a9we4a.wl-neal@walfield.org> (Neal H. Walfield's message of "Thu, 06 Jul 2017 21:37:41 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216259 Archived-At: "Neal H. Walfield" writes: >> At that time, the GnuPG developers didn't seem to have a consensus on >> how TOFU is supposed to work: > > FWIW, the TOFU modus operandi are unlikely to change at this stage and > have been stable for nearly a year. I wouldn't call it "stable" just because the code has been there for a year. What about the deployment? Do you have any example of MUA implementing this feature, other than Emacs? > My recollection is that you said: if a recipient is specified by key > id rather than by email address (e.g., gpg is called like: 'gpg -e -r > KEYID') and the key has a conflict, the conflict should be ignored. No. My concern is why GnuPG detects a conflict, even though it is _not_ given an email address to consider (i.e. signature verification). > 2. AFAIK, there is no precedence for this behavior in gpg. Consider > an expired or revoked key: if you try to use it, gpg will error out > with "unusable public key." Erroring out and prompting user are a different behavior. Perhaps you implemented TOFU this way (prompting user) because you use Wanderlust (which has bee unmaintained for years)? If I remember correctly, Wanderlust requires user an explicit action to verify a signature. On the other hand, Gnus and other major MUA automatically verify signature without user interaction. I like this much better and supporting your TOFU implementation would negate this this handiness. Regards, -- Daiki Ueno