From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76871 Path: news.gmane.org!not-for-mail From: Raphael Kubo da Costa Newsgroups: gmane.emacs.gnus.general Subject: Re: Making Gnus ask my IMAP username and password after the recent auth-source changes Date: Thu, 17 Feb 2011 11:34:43 -0200 Message-ID: References: <87sjvq127b.fsf@gmail.com> <878vxhmmvj.fsf@lifelogs.com> <87tyg53tju.fsf@gmail.com> <87ipwj4wu8.fsf@lifelogs.com> <87hbc39vwe.fsf@gmail.com> <87d3mqj36i.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: dough.gmane.org 1297949753 9223 80.91.229.12 (17 Feb 2011 13:35:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 13:35:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25209@lists.math.uh.edu Thu Feb 17 14:35:48 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 1Pq41G-00032H-1m for ding-account@gmane.org; Thu, 17 Feb 2011 14:35:42 +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 1Pq40g-0006Gs-F3; Thu, 17 Feb 2011 07:35:06 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pq40e-0006Ga-H2 for ding@lists.math.uh.edu; Thu, 17 Feb 2011 07:35:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pq40c-0001F5-JR for ding@lists.math.uh.edu; Thu, 17 Feb 2011 07:35:03 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pq40b-00038f-8U for ding@gnus.org; Thu, 17 Feb 2011 14:35:01 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pq40a-0002at-Dp for ding@gnus.org; Thu, 17 Feb 2011 14:35:00 +0100 Original-Received: from 201.82.25.112 ([201.82.25.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Feb 2011 14:35:00 +0100 Original-Received: from kubito by 201.82.25.112 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Feb 2011 14:35:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.gnus.general Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 201.82.25.112 User-Agent: KNode/4.4.10 X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-811--2497h-0s--0d--HX-Complaints-To:sk:usenet@, 0.000-810--2495h-0s--0d--H*r:sk:1AlnuQ-, 0.000-810--2495h-0s--0d--HX-Spam-Relays-External:80.91.229.12, 0.000-810--2495h-0s--0d--H*r:0.1, 0.000-810--2495h-0s--0d--HX-Injected-Via-Gmane:gmane.org Spam tokens: 0.902-186--273h-4493s--0d--settled, 0.870-2341--10990h-130512s--0d--H*c:ISO-8859-1, 0.869-634--3085h-36407s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.869-634--3085h-36407s--0d--H*RU:quimby.gnus.org, 0.858-339--3303h-35653s--0d--HTo:D*gnus.org Autolearn status: no 0.0 FREEMAIL_FROM Sender email is freemail (kubito[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76871 Archived-At: Ted Zlatanov wrote: > On Thu, 17 Feb 2011 01:34:25 -0200 Raphael Kubo da Costa > RKdC> I am still wondering if the prompts I get are better than the old > RKdC> though -- the old code used to infer the port from my ~/.gnus > RKdC> (via nnimap-server-port), > > This can be helped with `auth-source-creation-defaults'. I will add a > default to the first port to `nnimap-credentials'. Well, it got a bit confusing now. I need to use port 993 to connect to the IMAP server. Previously, Gnus tried the port list for ssl (143, 993, imap and imaps), settled on 993 and asked me for my username and password showing "imap.gmail.com:993" in the prompt. Now, the prompt shows me "Personal:143", so the host is not shown, and the port is wrong. It then asks me to write this information (with the wrong port) into ~/.authinfo.gpg. I then choose "n" and it works fine, because after that Gnus ends up connecting to port 993. > RKdC> and did not show the password in clear text when asking to store > RKdC> the data in ~/.authinfo.gpg. Is it possible to at least hide the > RKdC> password in the last prompt? > Hmm. But then you couldn't see the actual line that was added. I'm not > sure what's the right thing here. Any other program that prompts for confirmation of this sort of data usually uses "***" or something like that when asking to write the password. Wouldn't it be possible to at least add a variable for the paranoid? :)