comparison doc/misc/epa.texi @ 110787:1a4e0055489f

* epa.texi (Caching Passphrases): New section.
author Daiki Ueno <ueno@unixuser.org>
date Wed, 06 Oct 2010 16:12:42 +0900
parents 22d8ea06b8c7
children 7c7fd71d22c7
comparison
equal deleted inserted replaced
110786:9a3ce1aa9d45 110787:1a4e0055489f
64 64
65 @menu 65 @menu
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
72 @node Overview 73 @node Overview
73 @chapter Overview 74 @chapter Overview
397 @defvar epa-file-inhibit-auto-save 398 @defvar epa-file-inhibit-auto-save
398 If non-@code{nil}, disable auto-saving when opening an encrypted file. 399 If non-@code{nil}, disable auto-saving when opening an encrypted file.
399 The default value is @code{t}. 400 The default value is @code{t}.
400 @end defvar 401 @end defvar
401 402
403 @node Caching Passphrases
404 @chapter Caching Passphrases
405
406 Typing passphrases is an irritating task if you frequently open and
407 close the same file. GnuPG and EasyPG Assistant provide mechanisms to
408 remember your passphrases. However, the configuration is a bit
409 confusing since it depends on your GnuPG installation (GnuPG version 1 or
410 GnuPG version 2), encryption method (symmetric or public key), and whether or
411 not 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
419 Here 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
433 To setup gpg-agent, follow the instruction in GnuPG manual.
434 @pxref{Invoking GPG-AGENT, , Invoking GPG-AGENT, gnupg}.
435
436 To 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
405 Bugs and problems with EasyPG Assistant are actively worked on by the 443 Bugs and problems with EasyPG Assistant are actively worked on by the
406 Emacs development team. Feature requests and suggestions are also 444 Emacs development team. Feature requests and suggestions are also