搜索一个公钥与一个GPGME钥匙服务器 [英] search for a public key on a keyserver with GPGME
问题描述
今天,我开始了一个新的线程GnuPG的邮件列表,搜索与GPGME 一个密钥服务器密钥。基本上我用GPGME在我的应用程序使用GnuPG的接口,但我不知道我该如何使用功能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.
任何想法?
推荐答案
好吧,我发现这个问题的答案。
使用 gpgme_op_conf_load gpgme_conf_arg_new gpgme_conf_opt_change 和 gpgme_op_conf_save 就可以设置一个新的preference,在这案中,密钥服务器的URL。
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é
这篇关于搜索一个公钥与一个GPGME钥匙服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!