aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2019-01-26 16:46:54 +0100
committerMichael Albinus2019-01-26 16:46:54 +0100
commitceccb3c8c4461cfb69b64d94a57709393b8c39fd (patch)
treec3ed72ebc68d6f42f6bdaf71ebcd2b6d23af5392
parent9078f34e84178553cd59bc03ac1b58cb56038436 (diff)
downloademacs-ceccb3c8c4461cfb69b64d94a57709393b8c39fd.tar.gz
emacs-ceccb3c8c4461cfb69b64d94a57709393b8c39fd.zip
New node Authentication in the Emacs manual
* doc/emacs/custom.texi (Customization): * doc/emacs/emacs.texi (Top): Add node Authentication.
-rw-r--r--doc/emacs/custom.texi38
-rw-r--r--doc/emacs/emacs.texi1
2 files changed, 39 insertions, 0 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 4aaf58cc264..32706f3868d 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -32,6 +32,8 @@ Reference Manual}.
32 By changing them, you can redefine keys. 32 By changing them, you can redefine keys.
33* Init File:: How to write common customizations in the 33* Init File:: How to write common customizations in the
34 initialization file. 34 initialization file.
35* Authentication:: Keeping persistent authentication information.
36
35@end menu 37@end menu
36 38
37@node Easy Customization 39@node Easy Customization
@@ -2609,3 +2611,39 @@ instance:
2609 2611
2610@noindent 2612@noindent
2611Type @kbd{C-q}, followed by the key you want to bind, to insert @var{char}. 2613Type @kbd{C-q}, followed by the key you want to bind, to insert @var{char}.
2614
2615@node Authentication
2616@section Keeping Persistent Authentication Information
2617@cindex ~/.authinfo file
2618@cindex ~/.authinfo.gpg file
2619@cindex ~/.netrc file
2620
2621 Some Emacs packages, which connect to other services, require
2622authentication (@pxref{Passwords}), e.g., @ref{Top, Gnus,, gnus, The
2623Gnus Manual}, or @ref{Top, Tramp,, tramp, The Tramp Manual}. Because
2624it might be annoying to provide the same user name and password again
2625and again, Emacs offers to keep this information persistent via the
2626auth-source library.
2627
2628 Per default, this information is taken from the file
2629@file{~/.authinfo} or @file{~/.authinfo.gpg} or @file{~/.netrc}.
2630These files have a syntax similar to netrc files as known from the ftp
2631program, like
2632
2633@example
2634machine @var{mymachine} login @var{myloginname} password @var{mypassword} port @var{myport}
2635@end example
2636
2637 Similarly, the auth-source library supports multiple storage
2638backend, currently either the classic netrc backend, JSON files, the
2639Secret Service API, and pass, the standard unix password manager.
2640
2641@vindex auth-sources
2642 All these alternatives are customized via the user option
2643@code{auth-sources}, @ref{Top, Emacs auth-source,, auth, Emacs auth-source}.
2644
2645@vindex auth-source-save-behavior
2646 When a password is entered interactively, which is not found via the
2647configured backend, some of the backends offer to save it
2648persistently. This can be changed by the customizing user option
2649@code{auth-source-save-behavior}.
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index d501db71914..5b16d5034f1 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -1114,6 +1114,7 @@ Customization
1114 By changing them, you can redefine keys. 1114 By changing them, you can redefine keys.
1115* Init File:: How to write common customizations in the 1115* Init File:: How to write common customizations in the
1116 initialization file. 1116 initialization file.
1117* Authentication:: Keeping persistent authentication information.
1117 1118
1118Easy Customization Interface 1119Easy Customization Interface
1119 1120