"Fixing" private key/generating public key from incomplete private

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Wed Mar 5 10:11:22 CET 2014

On Wed, Mar 5, 2014 at 11:41 AM, Werner Koch <wk at gnupg.org> wrote:
> On Tue,  4 Mar 2014 16:27, dbaryshkov at gmail.com said:
>> The problem is that they are not supported yet for non-ECC things,
>> are they?
> Not yet needed.  I could implement gcry_pubkey_testkey to allow for RSA
> and DSA  public key fixup.  Shall I?

I'm not sure about the 'testkey' name. I have the following use case in mind:
I read the private exponent from the private key. I initialize the context
and then I can fetch usable public and private keys from that context.

With best wishes

More information about the Gcrypt-devel mailing list