[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] nvm.ssh-agent working and tested
From: |
Daniel Carosone |
Subject: |
Re: [Monotone-devel] nvm.ssh-agent working and tested |
Date: |
Wed, 21 Feb 2007 18:04:43 +1100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue, Feb 20, 2007 at 10:22:55PM -0800, Justin Patrin wrote:
> >By symmetry, you'll probably also need it for syncing with a server
> >that requires auth?
>
> Nope, pull, push, and sync all work fine with ssh-agent without
> entering a password, which I assume means that decrypt_rsa() is only
> used with serve.
Sure. My comment about symmetry comes from the fact that the thing
being decrypted on the server was first encrypted on the client. But
of course, I was being dumb writing email while distracted, because
it's encrypted with the server's public key, and the keys are not
symmetric .. that being the whole point :)
(It's the HMAC key for the session in the initial netsync handshake,
see comments in netsync.cc under authentication -- and yes this needs
to change).
--
Dan.
pgpiSH2ntpf_J.pgp
Description: PGP signature