Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crypto-wrapper #30

Open
jaromil opened this issue Mar 23, 2017 · 0 comments
Open

Crypto-wrapper #30

jaromil opened this issue Mar 23, 2017 · 0 comments

Comments

@jaromil
Copy link
Member

jaromil commented Mar 23, 2017

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

  • when writing gpg emails to recipients whose email is not contained in the gpg id, manual selection of the right gpg key is cumbersome
  • when importing opmsg keys, persona linking may be done using a default id to start (and can be changed manually) or could be randomised creating a disposable new key

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant