From: David Bremner <david@tethera.net>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: [PATCH 2/9] Add a lazily-initialized crypto context to notmuch_database_t
Date: Fri, 11 Dec 2015 10:03:05 -0400 [thread overview]
Message-ID: <871tatf5gm.fsf@zancas.localnet> (raw)
In-Reply-To: <1449718786-28000-3-git-send-email-dkg@fifthhorseman.net>
Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
> This is in large part a duplicate of parts of crypto.c, but that code
> is in the client (outside the library), and we don't want to entangle
> the libgmime API with the libnotmuch API.
>
> I welcome better proposals for how to share this code explicitly
> between the library and the client.
Maybe I miss something obvious, but util/libutil.a is exactly there for
sharing code between the library and the client.
perhaps something like "gmime-extra.c" to go with {talloc,zlib}-extra.c
I didn't look at the code yet, just the commentary.
d
next prev parent reply other threads:[~2015-12-11 14:03 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 3:39 allow indexing cleartext of encrypted messages Daniel Kahn Gillmor
2015-12-10 3:39 ` [PATCH 1/9] reorganize indexing of multipart/signed and multipart/encrypted Daniel Kahn Gillmor
2015-12-11 21:53 ` Tomi Ollila
2015-12-10 3:39 ` [PATCH 2/9] Add a lazily-initialized crypto context to notmuch_database_t Daniel Kahn Gillmor
2015-12-11 14:03 ` David Bremner [this message]
2015-12-11 14:36 ` Daniel Kahn Gillmor
2015-12-11 21:55 ` Tomi Ollila
2015-12-10 3:39 ` [PATCH 3/9] index encrypted parts when the message is flagged appropriately Daniel Kahn Gillmor
2015-12-10 3:39 ` [PATCH 4/9] Add new n_d_add_message_try_decrypt (analogous to to n_d_add_message) Daniel Kahn Gillmor
2015-12-10 3:39 ` [PATCH 5/9] Enable cleartext indexing in python bindings Daniel Kahn Gillmor
2015-12-10 3:39 ` [PATCH 6/9] search for a reasonable gpg implementation Daniel Kahn Gillmor
2015-12-11 21:56 ` Tomi Ollila
2015-12-11 22:18 ` J. Lewis Muir
2015-12-11 22:22 ` Daniel Kahn Gillmor
2015-12-10 3:39 ` [PATCH 7/9] add a gpg_path value for notmuch_database_t Daniel Kahn Gillmor
2015-12-11 22:02 ` Tomi Ollila
2015-12-11 22:25 ` Daniel Kahn Gillmor
2015-12-12 23:25 ` Tomi Ollila
2015-12-13 1:20 ` David Bremner
2015-12-13 11:00 ` Tomi Ollila
2015-12-13 11:17 ` Tomi Ollila
2016-01-15 19:11 ` Daniel Kahn Gillmor
2015-12-11 22:35 ` J. Lewis Muir
2015-12-12 4:10 ` Daniel Kahn Gillmor
2015-12-10 3:39 ` [PATCH 8/9] add --try-decrypt to notmuch insert Daniel Kahn Gillmor
2015-12-10 3:39 ` [PATCH 9/9] add --try-decrypt to notmuch new Daniel Kahn Gillmor
2015-12-11 15:34 ` allow indexing cleartext of encrypted messages Daniel Kahn Gillmor
2015-12-11 22:05 ` Tomi Ollila
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871tatf5gm.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=dkg@fifthhorseman.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).