From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53958 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Entering passphrase twice when sending PGP signed message Date: Sun, 14 Sep 2003 19:17:41 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063559984 2800 80.91.224.253 (14 Sep 2003 17:19:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2003 17:19:44 +0000 (UTC) Cc: hniksic@xemacs.org Original-X-From: ding-owner+M2498@lists.math.uh.edu Sun Sep 14 19:19:42 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19yaXF-0000en-00 for ; Sun, 14 Sep 2003 19:19:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19yaV1-0004Pi-00; Sun, 14 Sep 2003 12:17:23 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19yaUs-0004Pa-00 for ding@lists.math.uh.edu; Sun, 14 Sep 2003 12:17:14 -0500 Original-Received: (qmail 20436 invoked by alias); 14 Sep 2003 17:17:14 -0000 Original-Received: (qmail 20430 invoked from network); 14 Sep 2003 17:17:14 -0000 Original-Received: from mxout.iskon.hr (qmailr@213.191.128.10) by sclp3.sclp.com with SMTP; 14 Sep 2003 17:17:14 -0000 Original-Received: (qmail 24834 invoked from network); 14 Sep 2003 19:17:12 +0200 Original-Received: from mx.iskon.hr (qmailr@213.191.128.11) by mxout.iskon.hr with SMTP; 14 Sep 2003 19:17:12 +0200 Original-Received: (qmail 22979 invoked from network); 14 Sep 2003 19:17:11 +0200 Original-Received: from hniksic.iskon.hr (213.191.139.17) by mx.iskon.hr with SMTP; 14 Sep 2003 19:17:11 +0200 Original-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Sun, 14 Sep 2003 17:18:47 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53958 Simon Josefsson writes: > I agree, but to clarify, I think the passphrase cache should have a > few modes: (I'm not sure the modes marked with '(?)' are useful.) > > * Disabled. > * Enabled for decrypt. (?) > * Enabled for sign. (?) > * Enabled for decrypt and sign. > * Enabled for decrypt and sign, but require confirmation for sign. > * Enabled for decrypt and sign, but require confirmation for decrypt. (?) > * Enabled for decrypt and sign, but require confirmation. > > I.e., I didn't mean PGG should ask for a passphrase and then issue > yes-or-no-p, instead I meant that if the passphrase is cached, PGG > should use yes-or-no-p before using the cache. I still believe that caching should be orthogonal to using yes-or-no-p. That is, if confirmation is required for signing, I should be required to confirm. Then, depending on whether passphrase has been cached or not, I may or may not also have to type in the passphrase. In other words, I'd prefer to have two knobs to twist: - Cache passphrase: * Without time limit. * With time limit. * For the duration of sending of one mail (i.e. to guarantee that I only have to type it once for any single mail.) * Never cache it. - Confirm signing/encryption: * Confirm signing. * Confirm encryption. * Confirm both. On the other hand, does it really happen to you that you could sign something by mistake? When I was signing my mail, I had to press `C-c C-m s o' [1] to add the appropriate MML markup -- it didn't happen automagically. [1] Who ever came up with those key bindings??