http://www.net-tex.de

GPG

mutt

mutt (Index)

mutt ist der wohl z. Zt brauchbarste eMailclient und bietet ziemlich gute gpg Unterstützung.
mutt ist konsolenbasiert und verwendet einfache rc-files um konfiguriert zu werden. Man kann eine Vielzahl von gpg Optionen in .muttrc einstellen oder besser noch, diese in einer Extradatei (bspw. .gpg.rc) angeben und von .muttrc sourcen lassen.

gpg Optionen: (Index)

gpg Konfiguration einlesen (in .muttrc):
source ~/.gpg.rc
gpg Konfiguration (in .gpg.rc)
  set pgp_autosign		# alsways sign each message
  set pgp_replysign     # always sign reply to signed message
  set pgp_replyencrypt  # always encrypt reply to encrypted message
  set pgp_replysignencrypted # yeah
  set pgp_verify_sig    # always verify pgp signatures
unset pgp_show_unusable # Show non-usable keys on the PGP key selection menu?
unset pipe_decode       # Weed headers and PGP-decode message before piping
# decode application/pgp
set pgp_decode_command="gpg   %?p?--passphrase-fd 0? --no-verbose --quiet  --batch  --output - %f"

# verify a pgp/mime signature
set pgp_verify_command="gpg   --no-verbose --quiet  --batch  --output - --verify %s %f"

# decrypt a pgp/mime attachment
set pgp_decrypt_command="gpg   --passphrase-fd 0 --no-verbose --quiet  --batch  --output - %f"

# create a pgp/mime signed attachment
# set pgp_sign_command="gpg-2comp --comment '' --no-verbose --batch  --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_sign_command="gpg    --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"

# create a application/pgp signed (old-style) message
# set pgp_clearsign_command="gpg-2comp --comment ''  --no-verbose --batch  --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_clearsign_command="gpg   --batch --quiet   --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"

# create a pgp/mime encrypted attachment
# set pgp_encrypt_only_command="pgpewrap gpg-2comp  -v --batch  --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_only_command="pgpewrap gpg    --batch  --quiet  --no-verbose --output - --encrypt --default-recipient-self --encrypt-to b3fbae33 --textmode --armor --always-trust -- -r %r -- %f"

# create a pgp/mime encrypted and signed attachment
# set pgp_encrypt_sign_command="pgpewrap gpg-2comp  --passphrase-fd 0 -v --batch  --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg  --passphrase-fd 0  --batch --quiet  --no-verbose  --textmode --output - --encrypt --default-recipient-self --encrypt-to b3fbae33 --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"

# import a key into the public key ring
set pgp_import_command="gpg  --no-verbose --import -v %f"

# export a key from the public key ring
set pgp_export_command="gpg   --no-verbose --export --armor %r"

# verify a key
set pgp_verify_key_command="gpg   --verbose --batch  --fingerprint --check-sigs %r"

# read in the public key ring
set pgp_list_pubring_command="gpg   --no-verbose --batch --quiet   --with-colons --list-keys %r" 

# read in the secret key ring
set pgp_list_secring_command="gpg   --no-verbose --batch --quiet   --with-colons --list-secret-keys %r" 

# fetch keys
# set pgp_getkeys_command="pkspxycwrap %r"

# pattern for good signature - may need to be adapted to locale!

# set pgp_good_sign="^gpg: Good signature from"

# OK, here's a version which uses gnupg's message catalog:
set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`"

set pgp_sign_as="0xB3FBAE33"
Es gibt zu mutt und GPG unzählige Hilfeseiten und Beispielkonfigurationen im WWW und Usenet, eine geeignete Suchmaschine wirkt hier geradezu Wunder.

$Id: list2html.pl,v 1.1.1.1 2004/04/22 16:24:44 stefan Exp $