----- Original Message -----
From: "Ian Clarke" <[email protected]>
To: <devl at freenetproject.org>
Sent: Saturday, May 12, 2001 6:28 PM
Subject: Re: [freenet-devl] Bug Report - 0.3.9.1 - FCP generates bad keypair

> On Sun, May 13, 2001 at 10:58:29AM +1200, David McNab wrote:
> > To get a working Freenet keypair with FCP,
> > 1) Use the FCP 'GenerateSVKKeypair' command, and save the private key
> > 2) Use the 'ClientPut' command to insert anything as
> > SSK at privatekey/anything. Perhaps use htl=1 to make it quick.
> > 3) Read the FCP 'Success' message that comes back, and extract the
enclosed
> > public key.
>
> I assume this is a workaround for the bug you described earlier rather
> than the suggested approach?

Actually it was a deficiency in the FCP specs. GenerateSVKKeypair returns a
keypair without the last three bytes -- the keysize and keytype. This was
not accidental, although the docs are lacking in what exactly is returned.

> Ian.

-Mathew


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to