aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDaiki Ueno2010-10-06 16:12:42 +0900
committerDaiki Ueno2010-10-06 16:12:42 +0900
commit65f5452039a93085f511d7a6a22de42ab5e4d1ea (patch)
treeca7a7efc0514f11ff51ec04f5fb9d7fd8afb2c08 /doc
parent8a944cea15e463be72e7c0be513a902aafc0e99a (diff)
downloademacs-65f5452039a93085f511d7a6a22de42ab5e4d1ea.tar.gz
emacs-65f5452039a93085f511d7a6a22de42ab5e4d1ea.zip
* epa.texi (Caching Passphrases): New section.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/epa.texi38
2 files changed, 42 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 04571f53532..6abb4be8a39 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12010-10-06 Daiki Ueno <ueno@unixuser.org>
2
3 * epa.texi (Caching Passphrases): New section.
4
12010-10-06 Glenn Morris <rgm@gnu.org> 52010-10-06 Glenn Morris <rgm@gnu.org>
2 6
3 * Makefile.in (SHELL): Set it. 7 * Makefile.in (SHELL): Set it.
diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi
index 36f74415974..7d4c66fdd28 100644
--- a/doc/misc/epa.texi
+++ b/doc/misc/epa.texi
@@ -66,6 +66,7 @@ called EasyPG Library.
66* Overview:: 66* Overview::
67* Quick start:: 67* Quick start::
68* Commands:: 68* Commands::
69* Caching Passphrases::
69* Bug Reports:: 70* Bug Reports::
70@end menu 71@end menu
71 72
@@ -399,6 +400,43 @@ If non-@code{nil}, disable auto-saving when opening an encrypted file.
399The default value is @code{t}. 400The default value is @code{t}.
400@end defvar 401@end defvar
401 402
403@node Caching Passphrases
404@chapter Caching Passphrases
405
406Typing passphrases is an irritating task if you frequently open and
407close the same file. GnuPG and EasyPG Assistant provide mechanisms to
408remember your passphrases. However, the configuration is a bit
409confusing since it depends on your GnuPG installation (GnuPG version 1 or
410GnuPG version 2), encryption method (symmetric or public key), and whether or
411not you want to use gpg-agent. Here are some questions:
412
413@enumerate
414@item Do you use GnuPG version 2 instead of GnuPG version 1?
415@item Do you use symmetric encryption rather than public key encryption?
416@item Do you want to use gpg-agent?
417@end enumerate
418
419Here are configurations depending on your answers:
420
421@multitable {111} {222} {333} {configuration configuration configuration}
422@item @b{1} @tab @b{2} @tab @b{3} @tab Configuration
423@item Yes @tab Yes @tab Yes @tab Nothing to do.
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.
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.
428@item No @tab Yes @tab No @tab Set up elisp passphrase cache.
429@item No @tab No @tab Yes @tab Nothing to do.
430@item No @tab No @tab No @tab You can't, without gpg-agent.
431@end multitable
432
433To setup gpg-agent, follow the instruction in GnuPG manual.
434@pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}.
435
436To set up elisp passphrase cache, set
437@code{epa-file-cache-passphrase-for-symmetric-encryption}.
438@xref{Encrypting/decrypting *.gpg files}.
439
402@node Bug Reports 440@node Bug Reports
403@chapter Bug Reports 441@chapter Bug Reports
404 442