Re: [PATCH v2 04/21] crypto: use stashed session-key properties for decryption, if available

2017-12-04 Thread David Bremner
Daniel Kahn Gillmor writes: > On Thu 2017-11-30 03:59:29 -0500, Daniel Kahn Gillmor wrote: >> +hexidecimal representation of the algorithm-specific key. For > > ugh, this should be hexadecimal, not hexidecimal. > > This is fixed in my gitlab session-keys branch [0], but doesn't seem > worth

Re: [PATCH v2 04/21] crypto: use stashed session-key properties for decryption, if available

2017-11-30 Thread Daniel Kahn Gillmor
On Thu 2017-11-30 03:59:29 -0500, Daniel Kahn Gillmor wrote: > +hexidecimal representation of the algorithm-specific key. For ugh, this should be hexadecimal, not hexidecimal. This is fixed in my gitlab session-keys branch [0], but doesn't seem worth re-posting the entire series for. :)

[PATCH v2 04/21] crypto: use stashed session-key properties for decryption, if available

2017-11-30 Thread Daniel Kahn Gillmor
When doing any decryption, if the notmuch database knows of any session keys associated with the message in question, try them before defaulting to using default symmetric crypto. This changeset does the primary work in _notmuch_crypto_decrypt, which grows some new parameters to handle it. The pr