[Patch v4 3/5] cli: crypto: S/MIME verification support

2016-01-24 Thread David Bremner
From: Jani Nikula notmuch-show --verify will now also process S/MIME multiparts if encountered. Requires gmime-2.6 and gpgsm. Based on work by Jameson Graef Rollins . --- crypto.c | 35 +++ notmuch-client.h

Re: [PATCH v2 06/16] Prefer gpg2 in the test suite if available

2016-01-24 Thread Tomi Ollila
On Wed, Jan 20 2016, Daniel Kahn Gillmor wrote: > Now that the notmuch client prefers gpg2 if available, having the test > suite use the same preference makes it more likely to validate as > expected. > > Be warned that the final test in T350-crypto.sh fails with an

Re: [PATCH v2 04/16] Provide _notmuch_crypto_{set,get}_gpg_path

2016-01-24 Thread Daniel Kahn Gillmor
Thanks for the review, Tomi! On Sun 2016-01-24 10:23:02 -0500, Tomi Ollila wrote: > On Wed, Jan 20 2016, Daniel Kahn Gillmor wrote: > >> Use functions to access the gpg_path for a _notmuch_crypto_t object. >> This lets us return sensible defaults based on the state of the

notmuch insert --keep fails in parallel w/ notmuch new

2016-01-24 Thread Maarten Aertsen
Hello list, I'd like to report a bug against notmuch 0.21, packaged for Debian jessie-backports as 0.21-3~bpo8+1. # Steps to reproduce: 1. start a notmuch new mail w/ lots of stuff to process (e.g. a migration) 2. try notmuch insert --keep # Expected result: Given the current text in

SMIME signature verification patches, v4

2016-01-24 Thread David Bremner
This is a simple rebase of id:1450100337-31655-1-git-send-email-da...@tethera.net The first 3 patches of that series are now in master. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

[Patch v4 1/5] test: initial tests for S/MIME and notmuch-emacs

2016-01-24 Thread David Bremner
Test the ability of notmuch-mua-mail to send S/MIME signed (and encrypted) messages; this really relies on existing functionality in message-mode. The generated keys and messages will later be useful for testing the notmuch CLI. --- test/T355-smime.sh | 42

[Patch v4 2/5] test: add broken S/MIME signature verification test for notmuch CLI

2016-01-24 Thread David Bremner
The test is pretty much cut and paste from the PGP/MIME version, with obvious updates taken from notmuch output. This also requires setting up gpgsm infrastucture. --- test/T355-smime.sh | 49 + test/test-lib.sh | 1 + 2 files changed, 50

[Patch v4 4/5] debian: Recommend gpgsm for S/MIME support

2016-01-24 Thread David Bremner
From: Jameson Graef Rollins --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 7e6a548..3e71ee4 100644 --- a/debian/control +++ b/debian/control @@ -31,7 +31,7 @@ Vcs-Browser:

[Patch v4 5/5] debian: add gpgsm as build dependency

2016-01-24 Thread David Bremner
It's not needed for the actual build, but it is needed to run the SMIME tests; means it can be omitted if the tests are not going to be run. --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 3e71ee4..d08951c 100644 --- a/debian/control

Re: [PATCH v2 04/16] Provide _notmuch_crypto_{set,get}_gpg_path

2016-01-24 Thread Tomi Ollila
On Wed, Jan 20 2016, Daniel Kahn Gillmor wrote: > Use functions to access the gpg_path for a _notmuch_crypto_t object. > This lets us return sensible defaults based on the state of the user's > machine. > --- > notmuch-reply.c | 13 ++--- > notmuch-show.c | 12

Re: [PATCH v2 06/16] Prefer gpg2 in the test suite if available

2016-01-24 Thread Daniel Kahn Gillmor
On Sun 2016-01-24 10:25:26 -0500, Tomi Ollila wrote: > On Wed, Jan 20 2016, Daniel Kahn Gillmor wrote: >> --- a/test/test-lib.sh >> +++ b/test/test-lib.sh >> @@ -85,6 +85,13 @@ unset GREP_OPTIONS >> # For emacsclient >> unset ALTERNATE_EDITOR >> >> +# choose the