Re: keys retrieved from keyserver (keys.openpgp.org) are unusable

2021-08-04 Thread Werner Koch via Gnupg-users
On Tue, 27 Jul 2021 11:12, root said: > I am new to GnuPG and this is a great tool in programming. I am not sure how > to > use gpg commands directly in C/C++ codes though. I thought gpgme is > providing the > interface to use gpg ? Yes, please use GPGME or the GPGME C++ bindings

Re: keys retrieved from keyserver (keys.openpgp.org) are unusable

2021-07-27 Thread root
On Tue, Jul 27, 2021 at 02:34:28PM +0200, Ingo Klöcker wrote: > On Dienstag, 27. Juli 2021 01:32:53 CEST root wrote: > > Long story short, when the public key is downloaded to my PC as a plain text > > .asc file, and later imported using the function > > gpgme_op_keylist_from_data_start() and

Re: keys retrieved from keyserver (keys.openpgp.org) are unusable

2021-07-27 Thread Ingo Klöcker
On Dienstag, 27. Juli 2021 01:32:53 CEST root wrote: > Long story short, when the public key is downloaded to my PC as a plain text > .asc file, and later imported using the function > gpgme_op_keylist_from_data_start() and gpgme_op_keylist_new(), the > key->can_encrypt, key->sign_certify, and

keys retrieved from keyserver (keys.openpgp.org) are unusable

2021-07-27 Thread root
Hi, all I've posted this question on stackoverflow.com a few days ago, and I am still waiting for someone to comment. https://stackoverflow.com/questions/68490051/key-retrieved-from-keyserver-keys-openpgp-org-cant-be-used-gpgme Long story short, when the public key is downloaded to my PC as a