3 ms·
There already is a gpg Api - gpg me (made easy): https://www.gnupg.org/related_software/gpgme/ https://www.gnupg.org/related_software/gpgme/ It would probably
by e12e 6y ago
There already is a gpg Api - gpg me (made easy):
https://www.gnupg.org/related_software/gpgme/ https://www.gnupg.org/related_software/gpgme/
It would probably make sense to implement and expose that?
Ed: see also https://wiki.gnupg.org/APIs https://wiki.gnupg.org/APIs
- deleted 6y ago[deleted]
- capitol_ 6y agoNo, this is not a very good suggestion. gpg-me just wraps the gpg binary and relies on a lot of global state, environmental variables for example. This makes the library really painful to use in multithreaded contexts, or when you need to have a controlled env. (like unit tests). I use gpg-me in one of my projects, and it's very far from pleasant to use.