emacs: change default for notmuch-crypto-process-mime to t

There are some cases like remote usage where this might cause
problems, but those users can easily customize the variable. The
inconvenience seems to be outweighed by the security benefit for most
users.
This commit is contained in:
David Bremner 2017-07-12 07:48:18 -03:00
parent 9fd48b78d0
commit f1bcb6b7c2
9 changed files with 25 additions and 24 deletions

View file

@ -24,7 +24,7 @@
(require 'epg) (require 'epg)
(require 'notmuch-lib) (require 'notmuch-lib)
(defcustom notmuch-crypto-process-mime nil (defcustom notmuch-crypto-process-mime t
"Should cryptographic MIME parts be processed? "Should cryptographic MIME parts be processed?
If this variable is non-nil signatures in multipart/signed If this variable is non-nil signatures in multipart/signed
@ -40,6 +40,7 @@ providing a prefix when viewing a signed or encrypted message, or
by providing a prefix when reloading the message in notmuch-show by providing a prefix when reloading the message in notmuch-show
mode." mode."
:type 'boolean :type 'boolean
:package-version '(notmuch . "0.25")
:group 'notmuch-crypto) :group 'notmuch-crypto)
(defface notmuch-crypto-part-header (defface notmuch-crypto-part-header

View file

@ -191,7 +191,7 @@ This is an error (see *Notmuch errors* for more details)
=== ERROR === === ERROR ===
[XXX] [XXX]
This is an error This is an error
command: YYY/notmuch_fail show --format\\=sexp --format-version\\=4 --exclude\\=false \\' \\* \\' command: YYY/notmuch_fail show --format\\=sexp --format-version\\=4 --decrypt --exclude\\=false \\' \\* \\'
exit status: 1 exit status: 1
stderr: stderr:
This is an error This is an error

View file

@ -5,7 +5,7 @@ Date: Tue, 17 Nov 2009 14:00:54 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of currently using mutt and mairix to index and read a collection of
@ -40,7 +40,7 @@ Cheers,
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> See the patch just posted here. > See the patch just posted here.
@ -67,7 +67,7 @@ Cheers,
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my > I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository > private notmuch repository

View file

@ -5,7 +5,7 @@ Date: Tue, 17 Nov 2009 14:00:54 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of currently using mutt and mairix to index and read a collection of
@ -39,7 +39,7 @@ Cheers,
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> See the patch just posted here. > See the patch just posted here.
@ -64,7 +64,7 @@ Cheers,
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my > I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository > private notmuch repository

View file

@ -5,7 +5,7 @@ Date: Tue, 17 Nov 2009 14:00:54 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of currently using mutt and mairix to index and read a collection of
@ -40,7 +40,7 @@ Date: Tue, 17 Nov 2009 15:33:01 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> See the patch just posted here. > See the patch just posted here.
@ -67,7 +67,7 @@ Date: Tue, 17 Nov 2009 19:50:40 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my > I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository > private notmuch repository

View file

@ -5,7 +5,7 @@ Date: Tue, 17 Nov 2009 14:00:54 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of currently using mutt and mairix to index and read a collection of
@ -46,7 +46,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0x9D20F6503E338888 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did
@ -79,7 +79,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> See the patch just posted here. > See the patch just posted here.
@ -162,7 +162,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my > I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository > private notmuch repository

View file

@ -5,7 +5,7 @@ Date: Tue, 17 Nov 2009 14:00:54 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of currently using mutt and mairix to index and read a collection of
@ -46,7 +46,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0x9D20F6503E338888 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did
@ -79,7 +79,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> See the patch just posted here. > See the patch just posted here.
@ -165,7 +165,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> I've also pushed a slightly more complicated (and complete) > I've also pushed a slightly more complicated (and complete)
> fix to my > fix to my

View file

@ -5,7 +5,7 @@ Date: Tue, 17 Nov 2009 14:00:54 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of currently using mutt and mairix to index and read a collection of
@ -46,7 +46,7 @@ Date: Wed, 18 Nov 2009 01:02:38 +0600
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0x9D20F6503E338888 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre Twas brillig at 14:00:54 17.11.2009 UTC-05 when lars@seas.harvard.edu did gyre
@ -79,7 +79,7 @@ Date: Tue, 17 Nov 2009 15:33:01 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> See the patch just posted here. > See the patch just posted here.
@ -162,7 +162,7 @@ Date: Tue, 17 Nov 2009 19:50:40 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
> I've also pushed a slightly more complicated (and complete) fix to my > I've also pushed a slightly more complicated (and complete) fix to my
> private notmuch repository > private notmuch repository

View file

@ -5,7 +5,7 @@ Date: Tue, 17 Nov 2009 14:00:54 -0500
[ multipart/mixed ] [ multipart/mixed ]
[ multipart/signed ] [ multipart/signed ]
[ Unknown signature status ] [ Unknown key ID 0xD74695063141ACD8 or unsupported algorithm ]
[ text/plain ] [ text/plain ]
I saw the LWN article and decided to take a look at notmuch. I'm I saw the LWN article and decided to take a look at notmuch. I'm
currently using mutt and mairix to index and read a collection of currently using mutt and mairix to index and read a collection of