How to use exported GPG keys in libgcrypt?

I wonder how can I use the private / public keys exported by GPG to use libgcrypt? Libgcrypt needs s-expression structures with associated mpi values, and I don't know how to extract them from GPG export :(

Thanks in advance!

+4
source share
2 answers

Here are some links:

ASCII Armor is a GPG extension for OpenPGP and is not part of the libgcrypt library. the dearmor_file function is located in GnuPG.

0
source

All Articles