gpapa key generation

Peter Gerwinski peter@gerwinski.de
Sat, 6 Jan 2001 14:22:49 +0100


Bernhard Herzog wrote:

> Ah, I see. My code is now basically the following (It's in CVS now in
> the file keyring.c, lines 364ff):
>
> GpapaPublicKey *publicKey;
> GpapaSecretKey *secretKey;
>
> /* ... */
>
> gpapa_create_key_pair (&publicKey, &secretKey, params->password,
> params->algo, params->keysize, params->userID,
> params->email, params->comment,
> gpa_callback, editor->window);
>
> and no code to free the keys again. If I understand you correctly that's
> the way gpapa_create_key_pair is supposed to be used.
Correct. The public/secret key rings in GPAPA are responsible for free()ing the keys later.
> > P.S.: Due to some travelling, I'll be cut from the net for a while, so if
> > you answer to that mail, don't wonder about my silence.
>
> Well, I hope there's someone else on this list who can answer my
> questions about gpapa.
There is. ;-) Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20010101 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net