Thanks to oierw and scipient for your explanations on IRC.

I write this message for benefit of people (poor befuddled client writers
like me) searching the dev archive in future....

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.

Hopefully this will also work in 0.4

----- Original Message -----
From: "David McNab" <[email protected]>
To: <devl at freenetproject.org>
Sent: Sunday, May 13, 2001 9:54 AM
Subject: Re: [freenet-devl] Bug Report - 0.3.9.1 - FCP generates bad keypair


> > Be a sport and publish an example of the keypair that works please..
> > I think I know what the problem is.
>
> Here's an FCP-generated keypair that *doesn't* work:
>
> private: Gu-o7NntBuir6ZheF7GJCMZytuuLREcHZ-U6JaeegJM
> public: YmThwa1o427rMUJb2QlIKQ6tfZc
> note that insertclient munches this private key and comes up with a public
> key of:
> YmThwa1o427rMUJb2QlIKQ6tfZcQAgE
> which is the same as the original pubkey with 'QAgE' at the end
>
> Now here's an InsertClient-generated keypair that *does* work:
>
> private: GgyIDK5iFet2GOn-mm7~AkRl2JHlfdzxr2e0
> public: uDT8iApCWc33MlNClfiMlIRHZOkQAgE
>
>
> ----- Original Message -----
> From: "Tavin Cole" <tavin at mailandnews.com>
> To: <devl at freenetproject.org>
> Sent: Sunday, May 13, 2001 9:28 AM
> Subject: Re: [freenet-devl] Bug Report - 0.3.9.1 - FCP generates bad
keypair
>
>
> > On Sun, May 13, 2001 at 01:53:22AM +1200, David McNab wrote:
> > > Hi all,
> > >
> > > While I like the overall improvements with v0.3.9.1, I'm having a
> problem
> > > with FCP.
> > >
> > > Basically, the FCP 'GenerateSVKPair' command creates dud keys (ie .
> > >
> > > I've verified this in my code by using an FCP-generated keypair (which
> > > fails), versus a hardwired keypair previously generated by
InsertClient
> > > (which works).
> > >
> > > Here's an example of a dud keypair from FCP:
> > > Private: A9mgu-wwnu-u-k2VTWl37subefO9AhuIvQ
> > > Public: 15fi2t5KZnFVqxer4Q7sHaBkBI8
> > >
> > > Advice anyone?
> >
> > Be a sport and publish an example of the keypair that works please..
> > I think I know what the problem is.
> >
> > --
> >
> > # tavin cole
> > #
> > # "The process of scientific discovery is, in effect,
> > #  a continual flight from wonder."
> > #                                   - Albert Einstein
> >
> >
> > _______________________________________________
> > Devl mailing list
> > Devl at freenetproject.org
> > http://lists.freenetproject.org/mailman/listinfo/devl
> >
>
>
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://lists.freenetproject.org/mailman/listinfo/devl
>


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

Reply via email to