GPGME: Exporting a private key
Ludovic Courtès
ludovic.courtes at laas.fr
Wed Aug 2 10:12:30 CEST 2006
Hi,
Werner Koch <wk at gnupg.org> writes:
> On Tue, 1 Aug 2006 13:49, Ludovic Courtès said:
>
>> For example, my initial goal was to interface GNUtls' OpenPGP mechanisms
>> with GPGME, and it turns out that a `gnutls_openpgp_privkey_t' can only
>> be initialized from an exported key. Perhaps GNUtls' API should be
>
> That makes sense as along as you don't want to closely integrate gpg
> and gnutls.
I'd love to closely integrate GPG and GNUtls but the current situation
doesn't allow me to do any better than what I outlined above.
Concretely, I resorted to exporting both the public key and private key
with GPG, putting them into files (hmm...) and feeding those files to
GNUtls (via `gnutls_certificate_set_openpgp_key_file ()'). This is
indeed not ideal. ;-)
But this is getting a bit off-topic.
Thanks,
Ludovic.
More information about the Gnupg-users
mailing list