From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63741 Path: news.gmane.org!not-for-mail From: Juliusz Chroboczek Newsgroups: gmane.emacs.gnus.general Subject: Re: Please add pgg-discard-passphrase-cache Date: Wed, 13 Sep 2006 23:28:13 +0200 Message-ID: <7iejuf5udu.fsf@lanthane.pps.jussieu.fr> References: <7isljcsgqx.fsf@lanthane.pps.jussieu.fr> <94dbb93a-f189-4ab0-80b7-c4f067fb2ed7@well-done.deisui.org> <87sljcaro9.fsf@latte.josefsson.org> <5595f934-8d29-456b-8e01-35ad426df461@well-done.deisui.org> <7iejuu67js.fsf@lanthane.pps.jussieu.fr> <87wt8kxb4z.fsf@latte.josefsson.org> <3e6c76bb-59cc-4a8e-b557-c689d02a1ff9@well-done.deisui.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158183013 19951 80.91.229.2 (13 Sep 2006 21:30:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 21:30:13 +0000 (UTC) Original-X-From: ding-owner+m12268@lists.math.uh.edu Wed Sep 13 23:30:09 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNcIw-0003qW-W7 for ding-account@gmane.org; Wed, 13 Sep 2006 23:29:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GNcIp-0002Ih-00; Wed, 13 Sep 2006 16:29:51 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GNcHt-0002IX-00 for ding@lists.math.uh.edu; Wed, 13 Sep 2006 16:28:53 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1GNcHp-00039U-3J for ding@lists.math.uh.edu; Wed, 13 Sep 2006 16:28:53 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GNcHl-0005Uc-00 for ; Wed, 13 Sep 2006 23:28:45 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GNcHf-0003Yf-CZ for ding@gnus.org; Wed, 13 Sep 2006 23:28:39 +0200 Original-Received: from lanthane.pps.jussieu.fr ([134.157.168.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Sep 2006 23:28:39 +0200 Original-Received: from jch by lanthane.pps.jussieu.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Sep 2006 23:28:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lanthane.pps.jussieu.fr User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:qCHI4hgssPzQCiMEYuYVdZqjFwQ= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63741 Archived-At: Sorry for the late reply. >>>> (defun pgg-discard-passphrase-cache () >>>> (interactive) >>>> (setq passphrase-cache (make-vector 7 0))) >>> Which means there'll still be no way to discard your passphrase in >>> Emacs 22? >> I think we should install your proposed patch. Unless there is some >> other better way to discard the passphrase in Emacs 22? > I think we should not since it is an addition to the API. Unless such a function is added, there is no documented way in Emacs 22 to discard a PGP passphrase. That is a problem. Ideally, we'd get epg into Emacs 22, but I'm assuming that's not going to happen. > By the way, I oppose to install Juliusz's patch because it doesn't clear > passphrases in passphrase-data. Could you please send me a corrected version? Juliusz