Gnus development mailing list
 help / color / mirror / Atom feed
From: david.goldberg6@verizon.net (Dave Goldberg)
To: ding@gnus.org
Subject: Re: auth-source (.authinfo.gpg) stopped working?
Date: Mon, 03 Jan 2011 09:02:33 -0500	[thread overview]
Message-ID: <84bp3y3x1i.fsf@davestoy.home> (raw)
In-Reply-To: <84k4im3yak.fsf@davestoy.home> (Dave Goldberg's message of "Mon,	03 Jan 2011 08:35:31 -0500")


> I'll enable auth-source debugging and see if I can figure anything out.

It looks like something is off with the parsing, presumably just in XEmacs, or perhaps there's something really wrong with my setup.  I have in .authinfo.gpg just the lines that have been written by the new auth-source (password masked):

machine cyrus.my.org login dsg password SECRET port imap
machine exchange.my.org login dsg password SECRET port imap

This after removing several identical copies, each of which gets written when I run through the initial login process.

Here are the relevant debug lines in the message log:

Loading auth-source...
Loading auth-source...done
auth-source-user-or-password: get (login password) for cyrus (143) + user=nil
/home/dsg/.authinfo.: 0% (0/114)
Loading passwd...
Loading passwd...done
/home/dsg/.authinfo.: 100% (114/114)
auth-source-user-or-password: get (login password) for cyrus (imap) + user=nil
auth-source-user-or-password: get (login password) for cyrus.my.org (143) + user=nil
auth-source-user-or-password: get (login password) for cyrus.my.org (imap) + user=nil
Do you want to save this password in ~/.authinfo.gpg? (y or n) 
Do you want to save this password in ~/.authinfo.gpg? (y or n) Yes
/home/dsg/.authinfo.: 0% (0/114)
/home/dsg/.authinfo.: 100% (114/114)
stdin: 0% (0/0)
stdin: 0% (199/0)
auth-source-user-or-password: found (login password)=SECRET for cyrus.my.org (imap) + nil
Opening nnimap server on cyrus...done
Opening nnimap server on exchange...
Opening connection to exchange.my.org...
Opening STARTTLS connection to `exchange.my.org:imap'...
Opening STARTTLS connection to `exchange.my.org:imap'...done
auth-source-user-or-password: get (login password) for exchange (143) + user=nil
/home/dsg/.authinfo.: 0% (0/118)
/home/dsg/.authinfo.: 100% (118/118)
auth-source-user-or-password: get (login password) for exchange (imap) + user=nil
auth-source-user-or-password: get (login password) for exchange.my.org (143) + user=nil
auth-source-user-or-password: get (login password) for exchange.my.org (imap) + user=nil
Do you want to save this password in ~/.authinfo.gpg? (y or n) 
Do you want to save this password in ~/.authinfo.gpg? (y or n) Yes
/home/dsg/.authinfo.: 0% (0/118)
/home/dsg/.authinfo.: 100% (118/118)
stdin: 0% (0/0)
stdin: 0% (262/0)
auth-source-user-or-password: found (login password)=SECRET for exchange.my.org (imap) + nil
Opening nnimap server on exchange...done

Reverting to a checkout prior to this change does not exhibit the problem

2010-12-16  Daiki Ueno  <ueno@unixuser.org>

        * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
        list of recipient keys, or use symmetric encryption if not a list.
        (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
        EPA override, replacing the call to `netrc-store-data'.


-- 
Dave Goldberg
david.goldberg6@verizon.net



  reply	other threads:[~2011-01-03 14:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-24  4:45 Dave Goldberg
2010-12-27 13:18 ` Ted Zlatanov
2010-12-27 15:48   ` Dave Goldberg
2010-12-28 14:48     ` Dave Goldberg
2011-01-02  5:55       ` Lars Magne Ingebrigtsen
2011-01-03 13:35         ` Dave Goldberg
2011-01-03 14:02           ` Dave Goldberg [this message]
2011-01-03 23:59             ` Lars Magne Ingebrigtsen
2011-01-04  1:24               ` Dave Goldberg
2011-01-04  1:36               ` Daiki Ueno
2011-01-05  2:51                 ` Daiki Ueno
2011-01-05 14:08                   ` Dave Goldberg
2011-01-05 14:14                   ` Katsumi Yamaoka
2011-01-05 18:43                     ` Daiki Ueno
2011-01-06 13:12                     ` Dave Goldberg

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=84bp3y3x1i.fsf@davestoy.home \
    --to=david.goldberg6@verizon.net \
    --cc=ding@gnus.org \
    /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).