<div dir="ltr">Hi,<div><br></div><div>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...</div><div><br></div><div>I've found and used the functions like: <a href="https://www.gnupg.org/documentation/manuals/gpgme/Listing-Keys.html#Listing-Keys">https://www.gnupg.org/documentation/manuals/gpgme/Listing-Keys.html#Listing-Keys</a> and <a href="https://www.gnupg.org/documentation/manuals/gpgme/Exporting-Keys.html#Exporting-Keys">https://www.gnupg.org/documentation/manuals/gpgme/Exporting-Keys.html#Exporting-Keys</a>, and I see in libgcrypt what it's expecting: <a href="https://www.gnupg.org/documentation/manuals/gcrypt/Cryptographic-Functions.html">https://www.gnupg.org/documentation/manuals/gcrypt/Cryptographic-Functions.html</a> but I don't feel like I have enough information to make a bridge between the two.</div><div><br></div><div>For instance, when I create an ECDSA key wit<font color="#000000">h 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 X</font>9.62 encoded key in there anywhere? If so, how can I reliably get it out?</div><div><br></div><div>Thanks,</div>
<div><br></div><div><br></div></div>