Keypair generation, storage

Moritz Schulte mo at
Thu Jan 20 21:50:20 CET 2005

On Thu, Jan 20, 2005 at 02:22:08PM +0100, Pierre Doucy wrote:

> Then I realised that all the other algorithms constructed their
> private keys as an array containing all the public parameters, then
> the private parameters.  Can anyone explain me the rationale for
> this ?

Simple: in many situations, the public key is seen as a subset of the
secret key; the public key is the secret key, with the secret elements

> gpg: Ohhhh jeeee: can't encode a 160 bit MD into a 255 bits frame
> but I really don't understand what's going on here. Any idea ?

encode_md_value() contains a special case for DSA; I guess, you would
need something similar for your new algorithm.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
Url : /pipermail/attachments/20050120/bde1f731/attachment.pgp

More information about the Gnupg-devel mailing list