Error encrypting string data

Werner Koch wk@gnupg.org
Fri, 25 Jul 2003 09:59:30 +0200


On Fri, 25 Jul 2003 00:14:09 +0200, Moritz Schulte said:

> Ah, I should add this to the documentation; Since gcry_ac_key_test
> simply calls gcry_pk_testkey and that function is only able to test
> private keys at the moment, you see that error.

It also does not make much sense to test a public key.  One could only
do some very basic tests, like whether e is odd.

-- 
Werner Koch                                      <wk@gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe	                 http://fsfeurope.org