authinfo encryption through netrc.el works now (was: authinfo/netrc file encryption status -- GnuPG)
Ted Zlatanov <tzz <at> lifelogs.com>
2004-08-04 16:54:05 GMT
On Tue, 03 Aug 2004, seh <at> panix.com wrote:
> "Ted Zlatanov" <tzz <at> 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
I don't know. Based on your experience, probably yes.
> o Could Gnus cache the decrypted ~/.authinfo data to avoid running gpg so many