From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75556 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source (.authinfo.gpg) stopped working? Date: Mon, 03 Jan 2011 09:02:33 -0500 Message-ID: <84bp3y3x1i.fsf@davestoy.home> References: <84ipyjkcch.fsf@davestoy.home> <87vd2f2w2f.fsf@lifelogs.com> <8462ufjjya.fsf@davestoy.home> <84tyhyhs1q.fsf@davestoy.home> <84k4im3yak.fsf@davestoy.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294063358 21100 80.91.229.12 (3 Jan 2011 14:02:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 14:02:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23907@lists.math.uh.edu Mon Jan 03 15:02:34 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZkzZ-0003J8-9p for ding-account@gmane.org; Mon, 03 Jan 2011 15:02:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PZkzN-00054S-Tb; Mon, 03 Jan 2011 08:02:21 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PZkzM-00054J-D7 for ding@lists.math.uh.edu; Mon, 03 Jan 2011 08:02:20 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PZkzK-0004E4-VL for ding@lists.math.uh.edu; Mon, 03 Jan 2011 08:02:20 -0600 Original-Received: from vms173013pub.verizon.net ([206.46.173.13]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PZkzK-0001gx-2V for ding@gnus.org; Mon, 03 Jan 2011 15:02:18 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.216.252]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LEG00ENY9NI3EK2@vms173013.mailsrvcs.net> for ding@gnus.org; Mon, 03 Jan 2011 08:02:07 -0600 (CST) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: <84k4im3yak.fsf@davestoy.home> (Dave Goldberg's message of "Mon, 03 Jan 2011 08:35:31 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75556 Archived-At: > 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 * 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