GnuPG version info from GPGME?
Robert J. Hansen
rjh at sixdemonbag.org
Fri Dec 2 15:20:50 CET 2016
I'm working on a command-line application to migrate profiles not just
between machines, but versions of GnuPG. E.g., 1.4 on machine A -> 2.1
on machine B, or vice-versa. For this, I need a way to discover which
version of GnuPG is currently installed. A quick look through the GPGME
manual doesn't reveal anything.
Have I just overlooked it, or do I really need to launch gpg --version
and parse the output?
More information about the Gnupg-users