/usr/share/doc/mailcrypt/HTML/mailcrypt_5.html is in mailcrypt 3.5.9-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on May 27, 2014 by texi2html 1.82
texi2html was written by:
Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>No value for TITLE: 6. Miscellaneous Configuration</title>
<meta name="description" content="No value for TITLE: 6. Miscellaneous Configuration">
<meta name="keywords" content="No value for TITLE: 6. Miscellaneous Configuration">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.82">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="Miscellaneous-Configuration"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mailcrypt_4.html#GnuPG-Fetch" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Alternate-Keyring" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_4.html#Key-Fetching" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_10.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Miscellaneous-Configuration-1"></a>
<h1 class="chapter">6. Miscellaneous Configuration</h1>
<p>This chapter documents some additional Mailcrypt configuration options
which could not be naturally described elsewhere.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top"><a href="#Alternate-Keyring">6.1 Alternate Keyring</a></td><td> </td><td align="left" valign="top"> Specifying a different file to act
like your public keyring.
</td></tr>
<tr><td align="left" valign="top"><a href="#Comment-Field">6.2 Comment Field</a></td><td> </td><td align="left" valign="top"> Burma
Shave
</td></tr>
<tr><td align="left" valign="top"><a href="#Mode-Line">6.3 Mode Line</a></td><td> </td><td align="left" valign="top"> Changing that "MC-w" and "MC-r" stuff
</td></tr>
<tr><td align="left" valign="top"><a href="#Key-Bindings">6.4 Key Bindings</a></td><td> </td><td align="left" valign="top"> Which keys cause which actions.
</td></tr>
<tr><td align="left" valign="top"><a href="#Nonstandard-Paths">6.5 Nonstandard Paths</a></td><td> </td><td align="left" valign="top"> Useful if your PGP installation is weird.
</td></tr>
</table>
<hr size="6">
<a name="Alternate-Keyring"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Comment-Field" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_10.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Alternate-Keyring-1"></a>
<h2 class="section">6.1 Alternate Keyring</h2>
<p>By default, Mailcrypt will use the same public keyring that PGP would
use if executed from the shell.
</p>
<a name="index-mc_002dpgp_002dalternate_002dkeyring"></a>
<p>You can cause Mailcrypt to use a specific public keyring by setting the
variable <code>mc-pgp-alternate-keyring</code>. If this variable is set,
Mailcrypt will use that keyring for all functions which would otherwise
have used the default. This includes adding keys, extracting keys,
verifying signatures, and encrypting messages.
</p>
<p>This feature might be useful if you maintain multiple keyrings; you can
switch between them by setting this variable. Depending on your tastes,
you might want to configure fetching from a keyring as well
(see section <a href="mailcrypt_4.html#Keyring-Fetch">Keyring Fetch</a>).
</p>
<hr size="6">
<a name="Comment-Field"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Alternate-Keyring" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Mode-Line" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_10.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Comment-Field-1"></a>
<h2 class="section">6.2 Comment Field</h2>
<p>By default, Mailcrypt will supply a "comment" option to PGP, resulting
in output which looks something like this:
</p>
<table><tr><td> </td><td><pre class="example">----- BEGIN PGP FOOBAR -----
Version: 2.6.3
Comment: Processed by Mailcrypt 3.5.9, an Emacs/PGP interface
…
----- END PGP FOOBAR -----
</pre></td></tr></table>
<a name="index-mc_002dpgp_002dcomment"></a>
<a name="index-mc_002dpgp50_002dcomment"></a>
<a name="index-mc_002dgpg_002dcomment"></a>
<p>To change the comment to one of your own, set the variable
<code>mc-pgp-comment</code>. Set it to <code>nil</code> to use PGP’s default, which
is probably either no comment or something defined in ‘<tt>config.txt</tt>’.
<code>mc-pgp50-comment</code> and <code>mc-gpg-comment</code> are the corresponding
variables for the other versions.
</p>
<hr size="6">
<a name="Mode-Line"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Comment-Field" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Key-Bindings" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_10.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Mode-Line-1"></a>
<h2 class="section">6.3 Mode Line</h2>
<p><code>mc-read-mode</code> and <code>mc-write-mode</code> will each indicate they are
active by placing the string ‘<samp>MC-r</samp>’ or ‘<samp>MC-w</samp>’ in the mode
line, respectively.
</p>
<a name="index-mc_002dread_002dmode_002dstring"></a>
<a name="index-mc_002dwrite_002dmode_002dstring"></a>
<p>You can change these strings by setting the variables
<code>mc-read-mode-string</code> and <code>mc-write-mode-string</code>. So, for
example, to get rid of the mode indicators entirely, you might put the
following lines into your ‘<tt>.emacs</tt>’ file:
</p>
<table><tr><td> </td><td><pre class="lisp">(setq mc-read-mode-string "")
(setq mc-write-mode-string "")
</pre></td></tr></table>
<hr size="6">
<a name="Key-Bindings"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Mode-Line" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#Nonstandard-Paths" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_10.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Key-Bindings-1"></a>
<h2 class="section">6.4 Key Bindings</h2>
<a name="index-mc_002dread_002dmode_002dmap"></a>
<a name="index-mc_002dwrite_002dmode_002dmap"></a>
<p>The Mailcrypt key bindings are defined by the keymaps
<code>mc-read-mode-map</code> and <code>mc-write-mode-map</code>. To change the key
bindings, you just need to set these variables in your ‘<tt>.emacs</tt>’
file.
</p>
<p>For example, if you wanted <kbd>C-c C-m</kbd> to be the Mailcrypt prefix
(instead of <kbd>C-c /</kbd>) in <code>mc-read-mode</code>, you would put the
following code in your ‘<tt>.emacs</tt>’ file:
</p>
<table><tr><td> </td><td><pre class="lisp">(setq mc-read-mode-map (make-sparse-keymap))
(define-key mc-read-mode-map "\C-c\C-mf" 'mc-deactivate-passwd)
(define-key mc-read-mode-map "\C-c\C-md" 'mc-decrypt)
(define-key mc-read-mode-map "\C-c\C-mv" 'mc-verify)
(define-key mc-read-mode-map "\C-c\C-ma" 'mc-snarf)
(define-key mc-read-mode-map "\C-c\C-mk" 'mc-fetch-key)
</pre></td></tr></table>
<p>For more information on Emacs key bindings, see <a href="../emacs/Key-Bindings.html#Key-Bindings">(emacs)Key Bindings</a> section ‘Customizing Key Bindings’ in <cite>The GNU Emacs Manual</cite>.
</p>
<hr size="6">
<a name="Nonstandard-Paths"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Key-Bindings" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_10.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Nonstandard-Paths-1"></a>
<h2 class="section">6.5 Nonstandard Paths</h2>
<p>The information in this section should be unnecessary, but is provided
"just in case".
</p>
<a name="index-mc_002dpgp_002dpath"></a>
<p>Mailcrypt will look for the PGP executable in your standard search path
under the name ‘<tt>pgp</tt>’. To use a different name (or to provide a
complete path), set the variable <code>mc-pgp-path</code>.
</p>
<a name="index-mc_002dpgp50_002dpgpe_002dpath"></a>
<a name="index-mc_002dpgp50_002dpgps_002dpath"></a>
<a name="index-mc_002dpgp50_002dpgpv_002dpath"></a>
<a name="index-mc_002dpgp50_002dpgpk_002dpath"></a>
<p>PGP 5.0 includes four separate executables, usually installed as "pgpe",
"pgps", "pgpv", and "pgpk". The variables <code>mc-pgp50-pgpe-path</code>,
<code>mc-pgp50-pgps-path</code>, <code>mc-pgp50-pgpv-path</code>, and
<code>mc-pgp50-pgpk-path</code> tell Mailcrypt where to find them if they are
not on your search path.
</p>
<a name="index-mc_002dgpg_002dpath"></a>
<p>GnuPG is normally installed as "gpg". <code>mc-gpg-path</code> tells Mailcrypt
where to find the executable if it is not on your path.
</p>
<p>In order to keep your identities straight, Mailcrypt needs to know where
your secret keyring resides.
</p>
<p>Mailcrypt figures this out heuristically by assuming that the file
‘<tt>secring.pgp</tt>’ is in the same directory as your public key ring. It
determines the location of the latter by doing a dry run of PGP with
‘<samp>+verbose=1</samp>’ and parsing the output.
</p>
<a name="index-mc_002dpgp_002dkeydir"></a>
<p>If this heuristic is failing for you, you can manually tell Mailcrypt
where your secret key ring is by setting the variable
<code>mc-pgp-keydir</code>, like this:
</p>
<table><tr><td> </td><td><pre class="lisp">(setq mc-pgp-keydir "/users/patl/.pgp/")
</pre></td></tr></table>
<p>Note that the trailing slash is <em>required</em>.
</p>
<p>If the heuristic fails, please report it as a bug (see section <a href="mailcrypt_9.html#Credits">Credits</a>).
</p>
<p>Note that if you have changed the default location of your secret
keyring, Mailcrypt will be unable to locate it. You can work around
this by either setting <code>mc-pgp-keydir</code>, or by making a symbolic
link to your secret keyring from ‘<tt>secring.pgp</tt>’ in your default
public keyring directory.
</p>
<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Miscellaneous-Configuration" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_6.html#Tips" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mailcrypt_0.html#Introduction" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_10.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mailcrypt_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Barak A. Pearlmutter</em> on <em>May 27, 2014</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
</font>
<br>
</p>
</body>
</html>
|