GNU bug report logs -
#7632
23.2.91; url-retrieve doesn't read authinfo.gpg file
Previous Next
Full log
Message #13 received at 7632 <at> debbugs.gnu.org (full text, mbox):
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.