muttrc and gpg

Thomas Stivers stivers_t at tomass.dyndns.org
Tue Jan 20 15:04:27 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/20/04  1:07 PM -0500, Alex Snow wrote:
> Nope...those lines didn't seem to work...I'll have to play around a 
> little more.

Here are the pgp related lines in my .muttrc, actually Debian's
/etc/Muttrc.

# GnuPG configuration
set pgp_decode_command="gpg  --charset utf-8   --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet  --batch  --output -
%f"
set pgp_verify_command="gpg   --status-fd=2 --no-verbose --quiet  --batch  --output - --verify %s %f"
set pgp_decrypt_command="gpg   --status-fd=2 --passphrase-fd 0 --no-verbose --quiet  --batch  --output - %f"
set pgp_sign_command="gpg    --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-
u %a? %f"
set pgp_clearsign_command="gpg   --charset utf-8 --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --
textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg  --charset utf-8    --batch  --quiet  --no-verbose --output - --
encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg  --charset utf-8 --passphrase-fd 0  --batch --quiet  --no-verbose  --
textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg  --no-verbose --import %f"
set pgp_export_command="gpg   --no-verbose --export --armor %k"
set pgp_verify_key_command="gpg   --verbose --batch  --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg   --no-verbose --batch --quiet   --with-colons --list-keys %k"
set pgp_list_secring_command="gpg   --no-verbose --batch --quiet   --with-colons --list-secret-keys %k"
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"

To this I add the following lines in my !/.muttrc.

set crypt_autosign=yes
set crypt_timestamp=no # don't tell me what time it is.
set pgp_create_traditional=yes # to keep the outhouse users happy

I am using mutt 1.5.5.1I, so all these options may not be available to
you.

Also not specifically mutt related I have in my ~/.gnupg/gpg.conf
(formerly known as ~/.gnupg/options) file the following.

keyserver keyserver.kjsl.com
keyserver-options auto-key-retrieve

These tell gpg to get new keys from the keyserver as needed.

- -- 
Clarke's Corollary:
Any technology distinguishable from magic is insufficiently advanced.
Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFADYnL5JK61UXLur0RAqWAAJ9KFuwGDJWiCzjQfvUL0N8CSYs0tQCeNT/d
WbKNsKXc58FsoHOKpUyw4j8=
=f6k1
-----END PGP SIGNATURE-----




More information about the Speakup mailing list