all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neil Jackson <neil.jackson@live.ca>
To: 16643@debbugs.gnu.org
Subject: bug#16643: 24.3; (auth) Minor documentation inconsistency on checking order of un/encrypted .authinfo files
Date: Tue, 4 Feb 2014 11:48:29 -0400	[thread overview]
Message-ID: <BLU0-SMTP219BD97E0E37ADCCD3B252A91AA0@phx.gbl> (raw)

The documentation is inconsistent about the order in which auth checks
'~/.authinfo' and '~/.authinfo.gpg' when 'auth-sources' isn't
customised.

In (info "(auth)Help for Users") it says that the unencrypted file is
sought first:

    If you don't customize 'auth-sources', you'll have to live with the
    defaults: the unencrypted netrc file '~/.authinfo' will be used for
    any host and any port.

    If that fails, any host and any port are looked up in the netrc file
    '~/.authinfo.gpg', which is a GnuPG encrypted file (*note GnuPG and
    EasyPG Assistant Configuration::).

But in (info "(auth)GnuPG and EasyPG Assistant Configuration") it says
it says that the encrypted file is sought first:

    If you don't customize 'auth-sources', the auth-source library reads
    '~/.authinfo.gpg', which is a GnuPG encrypted file.  Then it will
    check '~/.authinfo' but it's not recommended to use such an
    unencrypted file.


In GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.8.2)
 of 2013-08-14 on buildvm-15.phx2.fedoraproject.org Windowing system
distributor `Fedora Project', version 11.0.11404000 System Description:
Fedora release 19 (Schrödinger’s Cat)






             reply	other threads:[~2014-02-04 15:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 15:48 Neil Jackson [this message]
2014-02-05  5:45 ` bug#16643: 24.3; (auth) Minor documentation inconsistency on checking order of un/encrypted .authinfo files Glenn Morris

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

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

  git send-email \
    --in-reply-to=BLU0-SMTP219BD97E0E37ADCCD3B252A91AA0@phx.gbl \
    --to=neil.jackson@live.ca \
    --cc=16643@debbugs.gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.