dyne / JaroMail

Terminal UI email client to download, filter, search and archive messages off-line
https://dyne.org/software/jaro-mail
GNU General Public License v3.0
105 stars 9 forks source link

Crypto-wrapper #30

Open jaromil opened 7 years ago

jaromil commented 7 years ago

There are two use-cases on gpg and opmsg that can be greatly facilitated by having our own crypto-wrapper:

the first point can be solved having a very simple config file that matches keyid and email on two columns, then wrap the encrypt phase of gpg when looking for keys with our own crypto-wrapper

the second can be solved wrapping the import and encrypt phases in opmux with something that will setup the default persona on import but also allow mapping of personas from a config file (perhaps the same file for gpg) and have also an option to generate disposable random keys for some recipients

About persona-linking: https://github.com/stealth/opmsg#persona-linking