On Thu, 2005-03-17 at 08:01, Jacob Nevins wrote:
| The client can add a new private key to the agent with the following
| message. Using this message over the net has security implications, and
| the implementation SHOULD warn the user before decryption or sending the
| private key. (XXX how does ssh-add detect this condition?)
| XXX Additional key-types (for private keys), for example "ssh-rsa-
| encrypted"?
Besides the XXX questions, there's a broader architectural question
involved with agent forwarding.
Namely, the SSH_AGENT_ADD_KEY request involves sending a valuable
private signature key with normally unbounded lifetime over the wire
protected only by SSH's underlying cryptographic channel. This exposes
the private key far more than most protocols, and
precludes use of hardware tokens (such as smart cards) which allow
cryptographic operations to be requested without providing all users
with a copy of the key.