[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/message.texi,v
From: |
Reiner Steib |
Subject: |
[Emacs-diffs] Changes to emacs/man/message.texi,v |
Date: |
Tue, 02 Jan 2007 19:52:57 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Reiner Steib <rsteib> 07/01/02 19:52:57
Index: message.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/man/message.texi,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- message.texi 9 Jul 2006 22:48:00 -0000 1.39
+++ message.texi 2 Jan 2007 19:52:56 -0000 1.40
@@ -889,11 +889,21 @@
Using the @acronym{MML} language, Message is able to create digitally
signed and digitally encrypted messages. Message (or rather
@acronym{MML}) currently support @acronym{PGP} (RFC 1991),
address@hidden/MIME} (RFC 2015/3156) and @acronym{S/MIME}. Instructing
address@hidden to perform security operations on a @acronym{MIME} part is
-done using the @kbd{C-c C-m s} key map for signing and the @kbd{C-c C-m
-c} key map for encryption, as follows.
address@hidden/MIME} (RFC 2015/3156) and @acronym{S/MIME}.
address@hidden
+* Signing and encryption:: Signing and encrypting commands.
+* Using S/MIME:: Using S/MIME
+* Using PGP/MIME:: Using PGP/MIME
+* PGP Compatibility:: Compatibility with older implementations
address@hidden menu
+
address@hidden Signing and encryption
address@hidden Signing and encrypting commands
+
+Instructing @acronym{MML} to perform security operations on a
address@hidden part is done using the @kbd{C-c C-m s} key map for
+signing and the @kbd{C-c C-m c} key map for encryption, as follows.
@table @kbd
@item C-c C-m s s
@@ -976,6 +986,7 @@
other properly. Thus, we now describe what external libraries or
programs are required to make things work, and some small general hints.
address@hidden Using S/MIME
@subsection Using S/MIME
@emph{Note!} This section assume you have a basic familiarity with
@@ -1038,6 +1049,7 @@
you are on a secure single user machine) simply press @code{RET} at
the passphrase prompt.
address@hidden Using PGP/MIME
@subsection Using PGP/MIME
@acronym{PGP/MIME} requires an external OpenPGP implementation, such
@@ -1045,7 +1057,48 @@
implementations such as PGP 2.x and PGP 5.x are also supported. One
Emacs interface to the PGP implementations, PGG (@pxref{Top, ,PGG,
pgg, PGG Manual}), is included, but Mailcrypt and Florian Weimer's
address@hidden are also supported.
address@hidden are also supported. @xref{PGP Compatibility}.
+
address@hidden gpg-agent
+Message internally calls GnuPG (the @command{gpg} command) to perform
+data encryption, and in certain cases (decrypting or signing for
+example), @command{gpg} requires user's passphrase. Currently the
+recommended way to supply your passphrase to @command{gpg} is to use the
address@hidden program.
+
+To use @command{gpg-agent} in Emacs, you need to run the following
+command from the shell before starting Emacs.
+
address@hidden
+eval `gpg-agent --daemon`
address@hidden example
+
+This will invoke @command{gpg-agent} and set the environment variable
address@hidden to allow @command{gpg} to communicate with it.
+It might be good idea to put this command in your @file{.xsession} or
address@hidden @xref{Invoking GPG-AGENT, , , gnupg, Using the
+GNU Privacy Guard}.
+
+Once your @command{gpg-agent} is set up, it will ask you for a
+passphrase as needed for @command{gpg}. Under the X Window System,
+you will see a new passphrase input dialog appear. The dialog is
+provided by PIN Entry (the @command{pinentry} command), and as of
+version 0.7.2, @command{pinentry} cannot cooperate with Emacs on a
+single tty. So, if you are using a text console, you may need to put
+a passphrase into gpg-agent's cache beforehand. The following command
+does the trick.
+
address@hidden
+gpg --use-agent --sign < /dev/null > /dev/null
address@hidden example
+
+The Lisp variable @code{pgg-gpg-use-agent} controls whether to use
address@hidden See also @xref{Caching passphrase, , , pgg, The
+PGG Manual}.
+
+
address@hidden PGP Compatibility
address@hidden Compatibility with older implementations
@vindex gpg-temp-directory
Note, if you are using the @code{gpg.el} you must make sure that the
- [Emacs-diffs] Changes to emacs/man/message.texi,v,
Reiner Steib <=