Page MenuHome GnuPG

Receiving keys from server fails
Closed, ResolvedPublic

Description

Hi!
I am trying to import a key with GPGMe to a temporary keyring.
The function
err = gpgme_get_key (ctx, full_fpr, &key, FALSE);
succeeds, but apparently, they key is not added to the keyring.
Running "gpgme_op_import_keys (ctx, keys)" also does not help, while running the
command
gpg2 --batch --no-tty --lc-ctype=C --homedir=/tmp/gpgtmp --recv-key DEADBEEF
imports the key without any issue.

Is this an issue in GPGMe, or am I using it wrong?
Cheers,

Matthias

Details

Version
1.5.5

Event Timeline

ximion added projects: Bug Report, gpgme.
ximion added a subscriber: ximion.

Can you please ask on gnupg-devel for help?

neal claimed this task.