aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno2010-10-12 10:49:05 +0900
committerDaiki Ueno2010-10-12 10:49:05 +0900
commit98e2b86485ad27c2ed524bea1c481e1faaa09079 (patch)
tree513c55b6c3cc34fa24e850b03049e7489a3ddbee
parentda3107c7aa9832c1b9c38394ff53a3762f8826a6 (diff)
downloademacs-98e2b86485ad27c2ed524bea1c481e1faaa09079.tar.gz
emacs-98e2b86485ad27c2ed524bea1c481e1faaa09079.zip
Clarify the doc about caching passphrases.
* epa.texi (Caching Passphrases): * auth.texi (GnuPG and EasyPG Assistant Configuration): Clarify some configurations require to set up gpg-agent.
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/auth.texi24
-rw-r--r--doc/misc/epa.texi8
3 files changed, 22 insertions, 16 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index b82e523a355..adf5fd9b010 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12010-10-12 Daiki Ueno <ueno@unixuser.org>
2
3 * epa.texi (Caching Passphrases):
4 * auth.texi (GnuPG and EasyPG Assistant Configuration): Clarify
5 some configurations require to set up gpg-agent.
6
12010-10-11 Glenn Morris <rgm@gnu.org> 72010-10-11 Glenn Morris <rgm@gnu.org>
2 8
3 * Makefile.in (.texi.dvi): Remove unnecessary suffix rule. 9 * Makefile.in (.texi.dvi): Remove unnecessary suffix rule.
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index f7ee7b9f3de..66fe860fc0d 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -267,24 +267,24 @@ users' netrc files.
267@node GnuPG and EasyPG Assistant Configuration 267@node GnuPG and EasyPG Assistant Configuration
268@appendix GnuPG and EasyPG Assistant Configuration 268@appendix GnuPG and EasyPG Assistant Configuration
269 269
270If you don't customize @code{auth-sources}, the auth-source library
271reads @code{~/.authinfo.gpg}, which is a GnuPG encrypted file.
272
270In Emacs 23 or later there is an option @code{auto-encryption-mode} to 273In Emacs 23 or later there is an option @code{auto-encryption-mode} to
271automatically decrypt @code{*.gpg} files and it is enabled by default 274automatically decrypt @code{*.gpg} files. It is enabled by default so
272so there is no setting is needed. If you are using earlier versions 275there is no setting is needed. If you are using earlier versions of
273of Emacs for some reason, you will need: 276Emacs, you will need:
274 277
275@lisp 278@lisp
276(require 'epa-file) 279(require 'epa-file)
277(epa-file-enable) 280(epa-file-enable)
278@end lisp 281@end lisp
279 282
280If you want your GnuPG passwords to be cached, setup @code{gpg-agent} 283If you want your GnuPG passwords to be cached, set up @code{gpg-agent}
281or EasyPG Assitant 284or EasyPG Assitant
282@pxref{Caching Passphrases, , Caching Passphrases, epa} 285@pxref{Caching Passphrases, , Caching Passphrases, epa}
283 286
284For those who are using older vesions of Emacs, here are some portion 287To quick start, here are some questions:
285copied from the EasyPG Assitant manual:
286
287Here are some questions:
288 288
289@enumerate 289@enumerate
290@item Do you use GnuPG version 2 instead of GnuPG version 1? 290@item Do you use GnuPG version 2 instead of GnuPG version 1?
@@ -296,17 +296,17 @@ Here are configurations depending on your answers:
296 296
297@multitable {111} {222} {333} {configuration configuration configuration} 297@multitable {111} {222} {333} {configuration configuration configuration}
298@item @b{1} @tab @b{2} @tab @b{3} @tab Configuration 298@item @b{1} @tab @b{2} @tab @b{3} @tab Configuration
299@item Yes @tab Yes @tab Yes @tab Nothing to do. 299@item Yes @tab Yes @tab Yes @tab Set up gpg-agent.
300@item Yes @tab Yes @tab No @tab You can't, without gpg-agent. 300@item Yes @tab Yes @tab No @tab You can't, without gpg-agent.
301@item Yes @tab No @tab Yes @tab Nothing to do. 301@item Yes @tab No @tab Yes @tab Set up gpg-agent.
302@item Yes @tab No @tab No @tab You can't, without gpg-agent. 302@item Yes @tab No @tab No @tab You can't, without gpg-agent.
303@item No @tab Yes @tab Yes @tab Set up elisp passphrase cache. 303@item No @tab Yes @tab Yes @tab Set up elisp passphrase cache.
304@item No @tab Yes @tab No @tab Set up elisp passphrase cache. 304@item No @tab Yes @tab No @tab Set up elisp passphrase cache.
305@item No @tab No @tab Yes @tab Nothing to do. 305@item No @tab No @tab Yes @tab Set up gpg-agent.
306@item No @tab No @tab No @tab You can't, without gpg-agent. 306@item No @tab No @tab No @tab You can't, without gpg-agent.
307@end multitable 307@end multitable
308 308
309To setup gpg-agent, follow the instruction in GnuPG manual. 309To set up gpg-agent, follow the instruction in GnuPG manual.
310@pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}. 310@pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}.
311 311
312To set up elisp passphrase cache, set 312To set up elisp passphrase cache, set
diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi
index 7d4c66fdd28..32bf9e7fe1d 100644
--- a/doc/misc/epa.texi
+++ b/doc/misc/epa.texi
@@ -420,17 +420,17 @@ Here are configurations depending on your answers:
420 420
421@multitable {111} {222} {333} {configuration configuration configuration} 421@multitable {111} {222} {333} {configuration configuration configuration}
422@item @b{1} @tab @b{2} @tab @b{3} @tab Configuration 422@item @b{1} @tab @b{2} @tab @b{3} @tab Configuration
423@item Yes @tab Yes @tab Yes @tab Nothing to do. 423@item Yes @tab Yes @tab Yes @tab Set up gpg-agent.
424@item Yes @tab Yes @tab No @tab You can't, without gpg-agent. 424@item Yes @tab Yes @tab No @tab You can't, without gpg-agent.
425@item Yes @tab No @tab Yes @tab Nothing to do. 425@item Yes @tab No @tab Yes @tab Set up gpg-agent.
426@item Yes @tab No @tab No @tab You can't, without gpg-agent. 426@item Yes @tab No @tab No @tab You can't, without gpg-agent.
427@item No @tab Yes @tab Yes @tab Set up elisp passphrase cache. 427@item No @tab Yes @tab Yes @tab Set up elisp passphrase cache.
428@item No @tab Yes @tab No @tab Set up elisp passphrase cache. 428@item No @tab Yes @tab No @tab Set up elisp passphrase cache.
429@item No @tab No @tab Yes @tab Nothing to do. 429@item No @tab No @tab Yes @tab Set up gpg-agent.
430@item No @tab No @tab No @tab You can't, without gpg-agent. 430@item No @tab No @tab No @tab You can't, without gpg-agent.
431@end multitable 431@end multitable
432 432
433To setup gpg-agent, follow the instruction in GnuPG manual. 433To set up gpg-agent, follow the instruction in GnuPG manual.
434@pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}. 434@pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}.
435 435
436To set up elisp passphrase cache, set 436To set up elisp passphrase cache, set