Open meskio opened 5 years ago
The hooks look very useful, thank you!
@pazz: would it make sense to add (at least a link to) them into https://github.com/pazz/alot/wiki/Contrib-Hooks?
sure. It's a wiki, so go ahead :)
sure. It's a wiki, so go ahead :)
I just added it to the wiki: https://github.com/pazz/alot/wiki/Contrib-Hooks#generate-autcrypt-header-and-import-keys-from-it
Just to notice my hooks in the gist uses sequoia to produce a smaller autocrypt header than gnupg. But the difference for most common keys is minimal. In the wiki I added the version that uses only gnupg, as I will not expect people to have sequoia installed.
Will be nice to have autocrypt support in alot: https://autocrypt.org/
The spec basically talks about:
I have heard that there is interest on adding it into notmuch, but I guess this might take a while. It might be worth it to explore how to implement it in alot.
For now I'm using my own hooks for the first two points, sending header and importing keys from the header: https://gist.github.com/meskio/67f251bdbd3b0168f48bbad8d30e4b50