pazz / alot

Terminal-based Mail User Agent
GNU General Public License v3.0
696 stars 164 forks source link

Autocrypt support #1370

Open meskio opened 5 years ago

meskio commented 5 years ago

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

josch commented 3 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?

pazz commented 3 years ago

sure. It's a wiki, so go ahead :)

pazz commented 3 years ago

sure. It's a wiki, so go ahead :)

meskio commented 3 years ago

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.