Over the years, pgp/gpg has evolved and changed radically, especially
regarding MUA support. Mutt is no exception, and its outstanding
support has gotten better and better.
First, let me say that I my mutt incorporated gpg appears to be working
well, and I am satisfied. However, I run on Debian, and have upgraded
so many times that I cannot know new variables, nor the obsolete.
Recently, I have scoured the archives and googled around, and I think
that my gpg configuration can be simplified; but, I am not clear how to
do this. To this end, I submit the following mutt/gpg configuration for
scrutiny, comments, &c.
set pgp_autoencrypt=no
set pgp_autosign=yes
set pgp_clearsign_command="/usr/bin/gpg --no-verbose --batch --quiet \
--output - --passphrase-fd 0 --armor --textmode --clearsign \
%?a?-u %a? %f"
set pgp_create_traditional=ask-no
set pgp_decode_command="/usr/bin/gpg --status-fd=2 %?p?--passphrase-fd \
0? --no-verbose --quiet --batch --output - %f"
set pgp_decrypt_command="/usr/bin/gpg --status-fd=2 --passphrase-fd 0 \
--no-verbose --quiet --batch --output - %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg --batch \
--quiet --no-verbose --output - --encrypt --textmode --armor \
--always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg \
--passphrase-fd 0 --batch --quiet --no-verbose --textmode --output \
- --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u"
set pgp_export_command="/usr/bin/gpg --no-verbose --export --armor %r"
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"
set pgp_ignore_subkeys=yes
set pgp_import_command="/usr/bin/gpg --no-verbose --import -v %f"
set pgp_list_pubring_command="/usr/bin/gpg --no-verbose --batch --quiet \
--with-colons --list-keys %r"
set pgp_list_secring_command="/usr/bin/gpg --no-verbose --batch --quiet \
--with-colons --list-secret-keys %r"
set pgp_long_ids=no
set pgp_replyencrypt=yes
set pgp_replysign=no
set pgp_replysignencrypted=no
set pgp_retainable_sigs=no
set pgp_show_unusable=yes
set pgp_sign_as=e-mail
set pgp_sign_command="/usr/bin/gpg --no-verbose --batch --quiet --output \
- --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_sort_keys=address
set pgp_strict_enc=yes
set pgp_timeout=1800
set pgp_verify_command="/usr/bin/gpg --status-fd=2 --no-verbose --quiet \
--batch --output - --verify %s %f"
set pgp_verify_key_command="/usr/bin/gpg --verbose --batch --fingerprint \
--check-sigs %r"
set pgp_verify_sig=yes
Which of this is no longer required?
What can/ought to be simplified?
What changes ought I to consider?
Thank you all for your consideration.
# mutt -v
Mutt 1.5.4i (2003-03-19)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 2.4.21-3-686 (i686) [using ncurses 5.3] [using libidn
0.1.14 (compiled with 0.1.11)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP +IMAP_EDIT_THREADS -USE_GSS -USE_SSL +USE_GNUTLS
+USE_SASL -USE_SASL2
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID
+HAVE_GETADDRINFO +USE_CACHE
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.
patch-1.5.3.Md.gpg_status_fd
patch-1.3.23.1.ametzler.pgp_good_sign
patch-1.4.Md.gpg-agent
patch-1.5.1.cd.edit_threads.9.2
patch-1.5.3.Md.etc_mailname_gethostbyname
patch-1.3.27.bse.xtitles.1
Md.muttbug
Md.use_debian_editor
patch-1.4.admcd.gnutlsdlopen.53d
patch-1.5.4.Z.hcache.8
patch-1.4.admcd.gnutlsbuild.53d
patch-1.4.admcd.gnutls.55d
patch-1.5.3.rr.compressed.1
--
Best Regards,
mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know. The more I know, the more I know I don't know . . .
--
Attachment:
pgpI8zWtRI3Wm.pgp
Description: PGP signature