You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smime.rc.patch 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. From: Antonio Radici <antonio@debian.org>
  2. Date: Thu, 27 Feb 2014 16:31:48 +0100
  3. Subject: smime.rc
  4. Add CA's provided by ca-certificates to the ones
  5. distributed by the default installation of Mutt.
  6. Gbp-Pq: Topic misc
  7. ---
  8. contrib/smime.rc | 19 ++++++++++---------
  9. 1 file changed, 10 insertions(+), 9 deletions(-)
  10. diff --git a/contrib/smime.rc b/contrib/smime.rc
  11. index 5376089..efb0b6e 100644
  12. --- a/contrib/smime.rc
  13. +++ b/contrib/smime.rc
  14. @@ -4,33 +4,34 @@
  15. # If you compiled mutt with support for both PGP and S/MIME, PGP
  16. # will be the default method unless the following option is set
  17. -set smime_is_default
  18. +#set smime_is_default
  19. # Uncoment this if you don't want to set labels for certificates you add.
  20. # unset smime_ask_cert_label
  21. # Passphrase expiration
  22. -set smime_timeout=300
  23. +#set smime_timeout=300
  24. # Global crypto options -- these affect PGP operations as well.
  25. -set crypt_autosign = yes
  26. -set crypt_replyencrypt = yes
  27. -set crypt_replysign = yes
  28. -set crypt_replysignencrypted = yes
  29. -set crypt_verify_sig = yes
  30. +#set crypt_autosign = yes
  31. +#set crypt_replyencrypt = yes
  32. +#set crypt_replysign = yes
  33. +#set crypt_replysignencrypted = yes
  34. +#set crypt_verify_sig = yes
  35. # Section A: Key Management.
  36. # The (default) keyfile for signing/decrypting. Uncomment the following
  37. # line and replace the keyid with your own.
  38. -set smime_default_key="12345678.0"
  39. +#set smime_default_key="12345678.0"
  40. # Uncommen to make mutt ask what key to use when trying to decrypt a message.
  41. # It will use the default key above (if that was set) else.
  42. # unset smime_decrypt_use_default_key
  43. # Path to a file or directory with trusted certificates
  44. -set smime_ca_location="~/.smime/ca-bundle.crt"
  45. +#set smime_ca_location="~/.smime/ca-bundle.crt"
  46. +set smime_ca_location=`for f in $HOME/.smime/ca-certificates.crt $HOME/.smime/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt ; do if [ -e $f ] ; then echo $f ; exit ; fi ; done`
  47. # Path to where all known certificates go. (must exist!)
  48. set smime_certificates="~/.smime/certificates"