josecampos
josecampos

Reputation: 861

search for a public key on a keyserver with GPGME

Today I started a new thread on gnupg mailing list, Search keys on a keyserver with GPGME. Basically I use GPGME as an interface to use GnuPG in my app, but I don't know how I can use GPGME functions to search for a key on a keyserver.

Any idea?

Upvotes: 5

Views: 517

Answers (1)

josecampos
josecampos

Reputation: 861

Ok, I found the answer for this problem. Using gpgme_op_conf_load, gpgme_conf_arg_new, gpgme_conf_opt_change and gpgme_op_conf_save it is possible to set a new preference, in this case the keyserver url.

-- Cheer, José

Upvotes: 3

Related Questions