From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58214 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: authinfo encryption through netrc.el works now Date: Fri, 06 Aug 2004 20:18:31 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nwu0u8zht.fsf@lifelogs.com> <4noem1tmmp.fsf@lifelogs.com> <4nk6wlzbc2.fsf@koz.bwh.harvard.edu> <4n4qnl8mnw.fsf@lifelogs.com> <4noelsxi20.fsf@lifelogs.com> <4nacxaaloy.fsf_-_@lifelogs.com> <4npt65ckbe.fsf@lifelogs.com> <4npt6417os.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091816362 1432 80.91.224.253 (6 Aug 2004 18:19:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2004 18:19:22 +0000 (UTC) Original-X-From: ding-owner+M6755@lists.math.uh.edu Fri Aug 06 20:19:16 2004 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 1Bt9JD-0000Is-00 for ; Fri, 06 Aug 2004 20:19:15 +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 1Bt9Is-0004B5-00; Fri, 06 Aug 2004 13:18:54 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Bt9Ig-0004Ap-00 for ding@lists.math.uh.edu; Fri, 06 Aug 2004 13:18:42 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Bt9Ig-0004m8-El for ding@lists.math.uh.edu; Fri, 06 Aug 2004 13:18:42 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id A5F2A3A003E for ; Fri, 6 Aug 2004 13:18:38 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bt9Ib-0004NQ-00 for ; Fri, 06 Aug 2004 20:18:37 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Aug 2004 20:18:37 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Aug 2004 20:18:37 +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: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:XQ3mQ6OwTg7zwsRa/VIik4rUhIk= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58214 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58214 "Ted Zlatanov" writes: >> So start up Gnus again -- and have to type my password again. > > I don't know why the password cache is getting cleared. We have > > (defvar password-data (make-vector 7 0)) > > in password.el; I thought this would not get cleared on a subsequent > load of the password.el package. Maybe Simon will comment. Perhaps the password simply expired. IIRC, Steven said he used an expire timer for 10 minutes, so by the time Gnus is restarted, perhaps more than 10 minutes has expired. The default password cache life length is 16 seconds, which IMHO doesn't make much sense but it has been discussed before. Try: (setq password-cache-expiry 47114711) (setq pgg-passphrase-cache-expiry 47114711) Perhaps the password cache could include logic differentiate among passwords, so that users may choice that IMAP/SMTP passwords are kept around in memory forever, but OpenPGP passwords are remembered for 5 minutes, or something. I've thought about adding a "Use cached password? (y or n)" query as well, which is another thing that I'd want for OpenPGP passwords but not for IMAP/SMTP passwords.