1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
<html lang="en">
<head>
<title>Sending PGP - The MH-E Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The MH-E Manual">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Editing-Drafts.html#Editing-Drafts" title="Editing Drafts">
<link rel="prev" href="Adding-Attachments.html#Adding-Attachments" title="Adding Attachments">
<link rel="next" href="Checking-Recipients.html#Checking-Recipients" title="Checking Recipients">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This is version 8.0.3 of `The MH-E
Manual', last updated 2006-11-12.
Copyright (C) 1995, 2001, 2002, 2003, 2005, 2006 Free
Software Foundation, Inc.
The MH-E manual is free documentation; you can redistribute it
and/or modify it under the terms of either:
a. the GNU Free Documentation License, Version 1.2 or any later
version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts.
b. the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option)
any later version.
The MH-E manual is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License or GNU Free Documentation License for more
details.
The GNU General Public License and the GNU Free Documentation
License appear as appendices to this document. You may also
request copies by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<p>
<a name="Sending-PGP"></a>
Next: <a rel="next" accesskey="n" href="Checking-Recipients.html#Checking-Recipients">Checking Recipients</a>,
Previous: <a rel="previous" accesskey="p" href="Adding-Attachments.html#Adding-Attachments">Adding Attachments</a>,
Up: <a rel="up" accesskey="u" href="Editing-Drafts.html#Editing-Drafts">Editing Drafts</a>
<hr>
</div>
<h3 class="section">9.7 Signing and Encrypting Messages</h3>
<p><a name="index-signing-messages-1443"></a><a name="index-encrypting-messages-1444"></a><a name="index-RFC-3156-1445"></a>
MH-E can sign and encrypt messages as defined in
<a href="http://www.rfc-editor.org/rfc/rfc3156.txt">RFC 3156</a>. If you
should choose to sign or encrypt your message, use one of the
following commands to do so any time before sending your message.
<p><a name="index-mh_002dmml_002dsecure_002dmessage_002dencrypt-1446"></a><a name="index-mh_002dmml_002dsecure_002dmessage_002dsign-1447"></a><a name="index-mh_002dmml_002dsecure_002dmessage_002dsignencrypt-1448"></a><a name="index-C_002dc-C_002dm-C_002de-1449"></a><a name="index-C_002dc-C_002dm-C_002ds-1450"></a><a name="index-C_002dc-C_002dm-e-e-1451"></a><a name="index-C_002dc-C_002dm-e-s-1452"></a><a name="index-C_002dc-C_002dm-s-e-1453"></a><a name="index-C_002dc-C_002dm-s-s-1454"></a>
The command <kbd>C-c C-m C-s</kbd> (<code>mh-mml-secure-message-sign</code>)
inserts the following tag:
<pre class="smallexample"> <#secure method=pgpmime mode=sign>
</pre>
<p>This is used to sign your message digitally. Likewise, the command
<kbd>C-c C-m C-e</kbd> (<code>mh-mml-secure-message-encrypt</code>) inserts the
following tag:
<pre class="smallexample"> <#secure method=pgpmime mode=encrypt>
</pre>
<p>This is used to encrypt your message. Finally, the command <kbd>C-c
C-m s e</kbd> (<code>mh-mml-secure-message-signencrypt</code>) inserts the
following tag:
<pre class="smallexample"> <#secure method=pgpmime mode=signencrypt>
</pre>
<p><a name="index-mh_002dmml_002dunsecure_002dmessage-1455"></a><a name="index-C_002dc-C_002dm-C_002dn-1456"></a><a name="index-C_002dc-C_002dm-n-1457"></a><a name="index-mh_002dmml_002dmethod_002ddefault-1458"></a>
This is used to sign and encrypt your message. In each of these cases,
a proper multipart message is created for you when you send the
message. Use the command <kbd>C-c C-m C-n</kbd>
(<code>mh-mml-unsecure-message</code>) to remove these tags. Use a prefix
argument (as in <kbd>C-u C-c C-m s e</kbd>) to be prompted for one of the
possible security methods (see <code>mh-mml-method-default</code>).
<p><a name="index-mh_002dmml_002dmethod_002ddefault-1459"></a>
The option <code>mh-mml-method-default</code> is used to select between a
variety of mail security mechanisms. The default is `<samp><span class="samp">PGP (MIME)</span></samp>'
if it is supported; otherwise, the default is `<samp><span class="samp">None</span></samp>'. Other
mechanisms include vanilla `<samp><span class="samp">PGP</span></samp>' and `<samp><span class="samp">S/MIME</span></samp>'.
<p><a name="index-g_t_0040samp_007bpgg_007d-customization-group-1460"></a><a name="index-PGG-1461"></a><a name="index-customization-group_002c-_0040samp_007bpgg_007d-1462"></a>
The `<samp><span class="samp">pgg</span></samp>' customization group may have some settings which may
interest you.
See
<a href="http://www.dk.xemacs.org/Documentation/packages/html/pgg.html"><cite>The PGG Manual</cite></a>.
<p><a name="index-header-field_002c-_0040samp_007bFcc_003a_007d-1463"></a><a name="index-g_t_0040samp_007bFcc_003a_007d-header-field-1464"></a><a name="index-pgg_002dencrypt_002dfor_002dme-1465"></a>
In particular, I turn on the option <code>pgg-encrypt-for-me</code> so that
all messages I encrypt are encrypted with my public key as well. If
you keep a copy of all of your outgoing mail with a `<samp><span class="samp">Fcc:</span></samp>' header
field, this setting is vital so that you can read the mail you write!
</body></html>
|