In message <[EMAIL PROTECTED]> on Tue, 20 Sep 2005 22:45:07 -0500, Timothy Brownawell <[EMAIL PROTECTED]> said:
tbrownaw> On Tue, 2005-09-20 at 16:39 -0500, Timothy Brownawell wrote: tbrownaw> > I'm trying to implement ~/.monotone/keys/ . Since a tbrownaw> > privkey without its pubkey isn't very useful, I want to tbrownaw> > make it store key pairs, not lone privkeys. In order for tbrownaw> > this to work, monotone would have to not be able to input tbrownaw> > a private key without its pubkey. If you look in commands.cc, you will see that the privkey command writes both the private and public key to the file. You can even just try the 'monotone privkey' command and look at the output (it's ASCII). tbrownaw> ...Of course, the only time the pubkey needs to be retrieved tbrownaw> from the key store is when we sign something, and as msh Incorrect. You use the *private* key to sign things, and the other's public key to *verify* a signature. This means that we need to be able to extract the public key to publish it, one way or another. Cheers, Richard ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte [EMAIL PROTECTED] http://richard.levitte.org/ "When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." -- C.S. Lewis _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
