[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.6.7 Mail Encryption

Command: gpg-passphrase passphrase
Specifies your private key's pass phrase for signing an outgoing message using the GNU Privacy Guard (a tool compatible with the Pretty Good Privacy). Of course, to protect your passwords in the configuration file use the 0600 (u=rw,g=,o=) permissions, otherwise GNU Anubis won't accept them. We recommend setting the `gpg-passphrase' once in your configuration file, e.g. at the start of RULE section.

GNU Anubis supports the GNU Privacy Guard via the GnuPG Made Easy library, available at http://www.gnupg.org/gpgme.html.

Command: gpg-encrypt gpg-keys
This command enables encrypting your outgoing message with the GNU Privacy Guard (Pretty Good Privacy) public key(s). gpg-keys is a comma separated list of keys (with no space between commas and keys).

 
gpg-encrypt "John's public key"

Command: gpg-sign gpg-signer-key
Command: gpg-sign `yes-or-default'
This command signs the outgoing message with your GNU Privacy Guard private key. Specify a passphrase with gpg-passphrase. Value `default' means your default private key, but you can change it if you have more than one private key.

For example:

 
gpg-sign default

or

 
gpg-passphrase "my office key passphrase"
gpg-sign office@example.key

Command: gpg-sign-encrypt gpg-keys[:gpg-signer-key]
Command: gpg-se gpg-keys[:gpg-signer-key]
This command simultaneously signs and encrypts your outgoing message. It has the same effect as gpg command line switch `-se'. The argument before the colon is a comma-separated list of PGP keys to encrypt the message with. This argument is mandatory. The second argument is optional and is separated from the first one by a colon (`:'). This argument specifies the signer key. In the absence of the second argument your default private key is used.

For example:

 
gpg-sign-encrypt John@example.key

or

 
gpg-se John@example.key:office@example.key


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Wojciech Polak on December, 18 2004 using texi2html