3c2cff74b5
* src/gpgme.h.in (gpgme_op_receive_keys_start, gpgme_op_receive_keys): New. * src/gpgme.def, src/libgpgme.vers: Add them. * src/engine-backend.h (struct engine_ops): Add arg keyids to field 'import'. * src/engine.h, src/engine.c (_gpgme_engine_op_import): Add arg keyids. * src/engine.c (_gpgme_engine_op_import): Forward new arg keyids. * src/import.c: (_gpgme_op_import_start, _gpgme_op_import_keys_start): Pass NULL to new arg of _gpgme_op_import_start. (_gpgme_op_receive_keys_start, gpgme_op_receive_keys_start, gpgme_op_receive_keys): New. * src/engine-gpg.c (gpg_import): Add arg keyids. Extend check for valid arguments. Build command line if keyids are given. * src/engine-gpgsm.c (gpgsm_import): Add arg keyids. Return error if keyids is not NULL. tests/run-receive-keys.c: New. tests/Makefile.am (noinst_PROGRAMS): Add new test runner. -- The new function allows importing keys given by their key ids or fingerprints from a keyserver (like gpg's --recv-keys command). GnuPG-bug-id: 5808 |
||
---|---|---|
.. | ||
gpg | ||
gpgsm | ||
json | ||
opassuan | ||
.gitignore | ||
ChangeLog-2011 | ||
Makefile.am | ||
run-decrypt.c | ||
run-encrypt.c | ||
run-export.c | ||
run-genkey.c | ||
run-identify.c | ||
run-import.c | ||
run-keylist.c | ||
run-keysign.c | ||
run-receive-keys.c | ||
run-sign.c | ||
run-support.h | ||
run-swdb.c | ||
run-threaded.c | ||
run-tofu.c | ||
run-verify.c | ||
start-stop-agent | ||
t-data-1.txt | ||
t-data-2.txt | ||
t-data.c | ||
t-engine-info.c | ||
t-version.c |