Gnus development mailing list
 help / color / mirror / Atom feed
From: "Ted Zlatanov" <tzz@lifelogs.com>
Subject: authinfo encryption through netrc.el works now (was: authinfo/netrc file encryption status -- GnuPG)
Date: 4 Aug 2004 12:54:05 -0400	[thread overview]
Message-ID: <4nacxaaloy.fsf_-_@lifelogs.com> (raw)
In-Reply-To: <jk4fz737v2s.fsf@W003275.na.alarismed.com> (Steven E. Harris's message of "Tue, 03 Aug 2004 14:47:23 -0700")

On Tue, 03 Aug 2004, seh@panix.com wrote:

> "Ted Zlatanov" <tzz@lifelogs.com> writes:
> 
>> I tested them, let me know if you get good results too.
> 
> It almost works as expected, but for one annoyance. I have four
> servers listed in my .authinfo file. When I start Gnus, I get asked
> for the decryption password six or seven times as various connections
> get opened, despite having gnus-encrypt-password-cache-expiry set to
> 120. Shouldn't I only be asked for my decryption password once? Surely
> something must be wrong, for it would be easier to type four different
> passwords than to type a single on seven times.

I was doing the caching wrong, it's fixed.  All the code is in CVS
now, including the netrc.el changes (they won't do anything if you
don't have gnus-encrypt-file-alist set).

I also made gnus-encrypt-password-cache-expiry be a trigger for
password-cache-expiry, meaning that setting the former automatically
sets the latter.  If this is incorrect, please let me know.

> Related questions:
> o Does Gnus really reparse ~/.authinfo every time a connection gets
>   opened?

I don't know.  Based on your experience, probably yes.

> o Could Gnus cache the decrypted ~/.authinfo data to avoid running gpg so many
> 	times?

Sure, but is that worth the trouble?  It's a small amount of data and
the file could change, so you need to not only cache but also
remember the last mtime of the file you're caching.

Thanks
Ted



  reply	other threads:[~2004-08-04 16:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-21 18:25 authinfo/netrc file encryption status -- GnuPG Steven E.Harris
2004-07-23 16:22 ` Ted Zlatanov
2004-07-23 17:16   ` Steven E. Harris
2004-07-23 17:00     ` Ted Zlatanov
2004-07-23 21:39   ` Steven E. Harris
2004-07-27 16:56     ` Ted Zlatanov
2004-07-27 18:12       ` Steven E. Harris
2004-07-30 16:52         ` Ted Zlatanov
2004-08-02 23:06           ` Jeremy Maitin-Shepard
2004-08-03 17:09             ` Ted Zlatanov
     [not found]           ` <jk465858idw.fsf@W003275.na.alarismed.com>
     [not found]             ` <4n4qnl8mnw.fsf@lifelogs.com>
     [not found]               ` <jk4ekmp1iym.fsf@W003275.na.alarismed.com>
2004-08-03 17:11                 ` Ted Zlatanov
2004-08-03 21:47                   ` Steven E. Harris
2004-08-04 16:54                     ` Ted Zlatanov [this message]
2004-08-04 17:55                       ` authinfo encryption through netrc.el works now Simon Josefsson
2004-08-05 22:09                         ` Ted Zlatanov
2004-08-06 17:43                           ` Ted Zlatanov
2004-08-06 18:07                             ` Simon Josefsson
2004-08-04 18:37                       ` Steven E. Harris
2004-08-05 22:05                         ` Ted Zlatanov
2004-08-05 22:59                           ` Steven E. Harris
2004-08-06 17:45                             ` Ted Zlatanov
2004-08-06 18:18                               ` Simon Josefsson
2004-08-06 21:57                                 ` Ted Zlatanov
2004-08-04 22:55                   ` authinfo/netrc file encryption status -- GnuPG Steven E. Harris
2004-08-06 17:31                     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4nacxaaloy.fsf_-_@lifelogs.com \
    --to=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).