Mercurial > emacs
changeset 104560:fa3c2cd2554d
(Encrypting/decrypting *.gpg files): Don't refer to nonexistent
epa-setup.
author | Daiki Ueno <ueno@unixuser.org> |
---|---|
date | Sun, 23 Aug 2009 16:38:42 +0000 |
parents | 5341a7b533a2 |
children | 0a6b066cacd4 |
files | doc/misc/ChangeLog doc/misc/epa.texi |
diffstat | 2 files changed, 14 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/misc/ChangeLog Sun Aug 23 16:23:57 2009 +0000 +++ b/doc/misc/ChangeLog Sun Aug 23 16:38:42 2009 +0000 @@ -3,6 +3,8 @@ * epa.texi (Quick start): Don't refer to nonexistent epa-mode. (Mail-mode integration): Mention epa-mail-mode and epa-global-mail-mode. Reported by Jari Aalto (Bug#4211). + (Encrypting/decrypting *.gpg files): Don't refer to nonexistent + epa-setup. 2009-08-16 Michael Albinus <michael.albinus@gmx.de>
--- a/doc/misc/epa.texi Sun Aug 23 16:23:57 2009 +0000 +++ b/doc/misc/epa.texi Sun Aug 23 16:38:42 2009 +0000 @@ -303,9 +303,12 @@ @node Mail-mode integration @section Mail-mode integration -EasyPG Assistant provides a minor mode to help user compose inline PGP -messages. Inline PGP is sending the OpenPGP blobs directly inside a -mail message and it is not recommended and you should consider to use +EasyPG Assistant provides a minor mode @code{epa-mail-mode} to help +user compose inline PGP messages. Inline PGP is a traditional style +of sending signed/encrypted emails by embedding raw OpenPGP blobs +inside a message body, not using modern MIME format. + +NOTE: Inline PGP is not recommended and you should consider to use PGP/MIME. See @uref{http://josefsson.org/inline-openpgp-considered-harmful.html, Inline PGP in E-mail is bad, Mm'kay?}. @@ -344,12 +347,12 @@ @node Encrypting/decrypting *.gpg files @section Encrypting/decrypting *.gpg files -Once @code{epa-setup} is loaded, every file whose extension is -@samp{.gpg} will be treated as encrypted. That is, when you attempt -to open such a file which already exists, the decrypted text is -inserted in the buffer rather than encrypted one. On the other hand, -when you attempt to save the buffer to a file whose extension is -@samp{.gpg}, encrypted data is written. +By default, every file whose extension is @samp{.gpg} will be treated +as encrypted. That is, when you attempt to open such a file which +already exists, the decrypted text is inserted in the buffer rather +than encrypted one. On the other hand, when you attempt to save the +buffer to a file whose extension is @samp{.gpg}, encrypted data is +written. If you want to temporarily disable this behavior, use @kbd{M-x epa-file-disable}, and then to enable this behavior use @kbd{M-x