unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 7632@debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: bug#7632: 23.2.91; url-retrieve doesn't read authinfo.gpg file
Date: Mon, 28 Dec 2015 17:12:04 -0500	[thread overview]
Message-ID: <87bn9a1avf.fsf@lifelogs.com> (raw)
In-Reply-To: <87fuyqxjwg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 25 Dec 2015 23:06:55 +0100")

On Fri, 25 Dec 2015 23:06:55 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote: 

LI> Thierry Volpiatto <thierry.volpiatto@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





  reply	other threads:[~2015-12-28 22:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13  7:37 bug#7632: 23.2.91; url-retrieve doesn't read authinfo.gpg file Thierry Volpiatto
2015-12-25 22:06 ` Lars Ingebrigtsen
2015-12-28 22:12   ` Ted Zlatanov [this message]
     [not found] <mailman.27.1292226759.1193.bug-gnu-emacs@gnu.org>
2011-02-14 17:27 ` Ted Zlatanov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn9a1avf.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=7632@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=thierry.volpiatto@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).