by exabrial · 8y ago · 0 comments
The spec is OpenPGP and both PGP and GPG implement it: https://tools.ietf.org/html/rfc4880
I'm surprised those software actually use GPG by parsing its output instead of as a library.
The major advantage of GPGME is that it's written by the same folks as GnuPG itself, and hopefully they know how to use the binary correctly.
Since quality CLI implementations must be provided and exist anyways, why not provide the programmatic interface (libgpgme) as a thin veneer over it, as if the commands are being run from the shell?
If we are being pedantic, that detail is important.