<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/crypto.c, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-10-20T10:58:10Z</updated>
<entry>
<title>crypto: move into libnotmuch_util</title>
<updated>2017-10-20T10:58:10Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-10-17T19:09:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=197d67959bf459fc0f1f63a202d162a569535bf3'/>
<id>urn:sha1:197d67959bf459fc0f1f63a202d162a569535bf3</id>
<content type='text'>
This prepares us for using the crypto object in both libnotmuch and
the client.
</content>
</entry>
<entry>
<title>crypto: _notmuch_crypto_cleanup should return void</title>
<updated>2017-10-13T01:11:55Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-10-10T05:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bfd669bb2ef01d3142dd8294c7e1326ee7503e39'/>
<id>urn:sha1:bfd669bb2ef01d3142dd8294c7e1326ee7503e39</id>
<content type='text'>
There's no chance that _notmuch_crypto_cleanup() will ever return
anything other than 0, and no one ever checks its return value anyway.
So make it return void instead of int.
</content>
</entry>
<entry>
<title>crypto: drop pretense of notmuch_crypto_context_t</title>
<updated>2017-10-13T01:11:33Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-10-10T05:49:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3e9857a0b98c04973b9b6ad2da7dc5c3992b3b1c'/>
<id>urn:sha1:3e9857a0b98c04973b9b6ad2da7dc5c3992b3b1c</id>
<content type='text'>
notmuch_crypto_context_t was introduced (i think) as some sort of
abstraction layer to make notmuch somewhat independent of GMime.  But
it isn't even useful for GMime 3.0 or later -- we can drop the
pretense that it's some sort of abstraction in this case, and just
call it what it is, GMimeCryptoContext, which is useful for building
against older versions of GMime.

This also renames _notmuch_crypto_get_context() to
_notmuch_crypto_get_gmime_context().
</content>
</entry>
<entry>
<title>crypto: rename notmuch_crypto_t to _notmuch_crypto_t</title>
<updated>2017-10-13T01:11:25Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-10-10T05:49:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=88f2a72ef1dcfce149bbac776652ea04e564726d'/>
<id>urn:sha1:88f2a72ef1dcfce149bbac776652ea04e564726d</id>
<content type='text'>
The notmuch_crypto_t struct isn't used externally, and we have no
plans to explicitly export it.  Prefix its name (and associated
functions) with _ to make that intent clear.
</content>
</entry>
<entry>
<title>cli: convert notmuch_bool_t to stdbool</title>
<updated>2017-10-10T01:24:02Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-10-07T08:44:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0f314c0c99befea599a68bea51d759b4133efef6'/>
<id>urn:sha1:0f314c0c99befea599a68bea51d759b4133efef6</id>
<content type='text'>
C99 stdbool turned 18 this year. There really is no reason to use our
own, except in the library interface for backward
compatibility. Convert the cli and test binaries to stdbool.
</content>
</entry>
<entry>
<title>crypto: Avoid explicit handling of GMimeCryptoContext in gmime 3</title>
<updated>2017-07-16T00:43:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-07-15T23:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=66c9b11bb05e09a7fa2a8ff390190cc16c1499e6'/>
<id>urn:sha1:66c9b11bb05e09a7fa2a8ff390190cc16c1499e6</id>
<content type='text'>
gmime 3.0 knows how to select the correct GMimeCryptoContext
automatically, so a bunch of the code in notmuch can be dropped in
that case.

The #ifdef removal of the crypto stuff is better than #define aliasing
in gmime-extra.h for this stuff.  When built against gmime 3.0:

    * it reduces compiled code, and
    * it avoids initializing unused gpgme contexts

(based on a patch from dkg)
</content>
</entry>
<entry>
<title>Use https instead of http where possible</title>
<updated>2016-06-05T11:32:17Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-06-02T16:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a833a6e83865f6999707cc30768d07e1351c2cb'/>
<id>urn:sha1:6a833a6e83865f6999707cc30768d07e1351c2cb</id>
<content type='text'>
Many of the external links found in the notmuch source can be resolved
using https instead of http.  This changeset addresses as many as i
could find, without touching the e-mail corpus or expected outputs
found in tests.
</content>
</entry>
<entry>
<title>cli: crypto: S/MIME verification support</title>
<updated>2016-01-29T21:45:46Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-08-16T17:41:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2355f1522ae77a1012ca3ef08d97098a5951d142'/>
<id>urn:sha1:2355f1522ae77a1012ca3ef08d97098a5951d142</id>
<content type='text'>
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 &lt;jrollins@finestructure.net&gt;.
</content>
</entry>
<entry>
<title>cli: let the user know which protocol is unknown or unsupported</title>
<updated>2015-12-30T15:28:30Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-12-14T13:38:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=190f69169dc5c2ee12dcf077ead7f3fac4d9d88b'/>
<id>urn:sha1:190f69169dc5c2ee12dcf077ead7f3fac4d9d88b</id>
<content type='text'>
The current error message is not helpful.
</content>
</entry>
<entry>
<title>crypto: make crypto ctx initialization an array</title>
<updated>2015-12-30T15:28:30Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-12-14T13:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cb494f72f398bb0898030a1225f9ef6da557e959'/>
<id>urn:sha1:cb494f72f398bb0898030a1225f9ef6da557e959</id>
<content type='text'>
Make it trivial to add handlers for new protocols without duplicating
code. No functional changes.
</content>
</entry>
</feed>
