Public Key encryption

Werner Koch
Fri, 10 May 2002 13:06:36 +0200

On Thu, 9 May 2002 12:29:29 +0200, Rüdiger Sonderfeld said:

> [open]
>   [data="key-data"]
> and so on

> How can I stop this?

That is some debug output.  Have a look at newpg/agent/genkey.c to see
what you should do.

> But what is now the public key and what is teh private key?

You get both in one S-expression back.

> Which functions do I need to sign/check or encrypt/decrypt with this key?

gcry_pk_sign, gcry_pk_verify, gcry_pk_encrypt, gcry_pk_decrypt.