gpgme_key_t or gpgme_op_export_keys keydata to gcry_sexp_t
mangocats at gmail.com
Fri Jun 8 06:36:38 CEST 2018
I'm trying to work with gpgme to manage public/private key pairs on a
keyring, but also use these keys with libgcrypt for signing, verifying
signatures, etc. without interacting with gpg or the keyring...
I've found and used the functions like:
and I see in libgcrypt what it's expecting:
but I don't feel like I have enough information to make a bridge between
For instance, when I create an ECDSA key with the brainpoolP256r1 curve,
then I gpgme_op_export() that key in GPGME_EXPORT_MODE_MINIMAL mode, I get
413 bytes in the keydata - is the X9.62 encoded key in there anywhere? If
so, how can I reliably get it out?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnupg-users