GNU bug report logs - #7632
23.2.91; url-retrieve doesn't read authinfo.gpg file

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Mon, 13 Dec 2010 07:33:01 UTC

Severity: normal

Found in version 23.2.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 7632 <at> debbugs.gnu.org (full text, mbox):

From: Ted Zlatanov <tzz <at> lifelogs.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 7632 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: Re: bug#7632: 23.2.91; url-retrieve doesn't read authinfo.gpg file
Date: Mon, 28 Dec 2015 17:12:04 -0500
On Fri, 25 Dec 2015 23:06:55 +0100 Lars Ingebrigtsen <larsi <at> gnus.org> wrote: 

LI> Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
>> actually it seem url-retrieve doesn't read .authinfo.gpg file.
>> I am always prompt for login/password.
>> 
>> My entry in .authinfo is:
>> machine mail.google.com port https login xx password xx
>> I also tried:(without succes)
>> machine mail.google.com:443 port https login xx password xx

LI> I think this has probably been fixed now?  Looking at the code, it seems
LI> to use auth-source for all this, so it should get the .authinfo.gpg file
LI> etc.

LI> So I'm closing this bug report.  If this still doesn't work, please
LI> reopen.

Sorry I missed this bug report.

From (info "(auth) Help for users"):

   For url-auth authentication (HTTP/HTTPS), you need to put this in
your netrc file:

     machine yourmachine.com:80 port http login testuser password testpass

   This will match any realm and authentication method (basic or digest)
over HTTP.  HTTPS is set up similarly.  If you want finer controls,
explore the url-auth source code and variables.

Thierry, this should work for you. If not, it would help if you set
`auth-source-debug' to 'trivia and show the output in *Messages*.

Ted




This bug report was last modified 9 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.