unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16642: 24.3; (auth) Minor documentation inconsistency on checking order of un/encrypted .authinfo files
@ 2014-02-04 16:12 Neil Jackson
  2014-02-08  2:08 ` Glenn Morris
       [not found] ` <mailman.14096.1391825345.10748.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Neil Jackson @ 2014-02-04 16:12 UTC (permalink / raw)
  To: 16642

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)






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-13 14:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-04 16:12 bug#16642: 24.3; (auth) Minor documentation inconsistency on checking order of un/encrypted .authinfo files Neil Jackson
2014-02-08  2:08 ` Glenn Morris
2014-02-09 23:41   ` Ted Zlatanov
2014-02-12 14:30     ` Ted Zlatanov
2014-02-12 16:44       ` Glenn Morris
2014-02-13 14:11         ` Ted Zlatanov
     [not found] ` <mailman.14096.1391825345.10748.bug-gnu-emacs@gnu.org>
2014-02-09  1:58   ` N. Jackson

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).