PREV Key Bindings UP Miscellaneous Configuration next

6.5: Nonstandard Paths

The information in this section should be unnecessary, but is provided "just in case".

Mailcrypt will look for the PGP executable in your standard search path under the name `pgp'. To use a different name (or to provide a complete path), set the variable mc-pgp-path.

PGP 5.0 includes four separate executables, usually installed as "pgpe", "pgps", "pgpv", and "pgpk". The variables mc-pgp50-pgpe-path, mc-pgp50-pgps-path, mc-pgp50-pgpv-path, and mc-pgp50-pgpk-path tell Mailcrypt where to find them if they are not on your search path.

GnuPG is normally installed as "gpg". mc-gpg-path tells Mailcrypt where to find the executable if it is not on your path.

In order to keep your identities straight, Mailcrypt needs to know where your secret keyring resides.

Mailcrypt figures this out heuristically by assuming that the file `secring.pgp' 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 `+verbose=1' and parsing the output.

If this heuristic is failing for you, you can manually tell Mailcrypt where your secret key ring is by setting the variable mc-pgp-keydir, like this:

(setq mc-pgp-keydir "/users/patl/.pgp/")

Note that the trailing slash is required.

If the heuristic fails, please report it as a bug (see Credits).

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 mc-pgp-keydir, or by making a symbolic link to your secret keyring from `secring.pgp' in your default public keyring directory.

PREV Key Bindings UP Miscellaneous Configuration next