summaryrefslogtreecommitdiff
path: root/crypto/openssh/PROTOCOL.agent
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2010-03-09 19:16:43 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2010-03-09 19:16:43 +0000
commitb15c83408cb1e9b86c1895af0f097de05fc92ccf (patch)
tree286162d33ef4c84bb329fd42641bbe0dd68cc42c /crypto/openssh/PROTOCOL.agent
parent2a18c71d038b24f9025e314bd3ecf18a22cc5431 (diff)
parent5fe13e2e9be32fe8299a3a2da8e829bb2af78918 (diff)
downloadsrc-test2-b15c83408cb1e9b86c1895af0f097de05fc92ccf.tar.gz
src-test2-b15c83408cb1e9b86c1895af0f097de05fc92ccf.zip
Notes
Diffstat (limited to 'crypto/openssh/PROTOCOL.agent')
-rw-r--r--crypto/openssh/PROTOCOL.agent24
1 files changed, 23 insertions, 1 deletions
diff --git a/crypto/openssh/PROTOCOL.agent b/crypto/openssh/PROTOCOL.agent
index 49adbdd5c7af..b34fcd318e13 100644
--- a/crypto/openssh/PROTOCOL.agent
+++ b/crypto/openssh/PROTOCOL.agent
@@ -173,6 +173,15 @@ be added using the following request
string key_comment
constraint[] key_constraints
+DSA certificates may be added with:
+ byte SSH2_AGENTC_ADD_IDENTITY or
+ SSH2_AGENTC_ADD_ID_CONSTRAINED
+ string "ssh-dss-cert-v00@openssh.com"
+ string certificate
+ mpint dsa_private_key
+ string key_comment
+ constraint[] key_constraints
+
RSA keys may be added with this request:
byte SSH2_AGENTC_ADD_IDENTITY or
@@ -187,6 +196,19 @@ RSA keys may be added with this request:
string key_comment
constraint[] key_constraints
+RSA certificates may be added with this request:
+
+ byte SSH2_AGENTC_ADD_IDENTITY or
+ SSH2_AGENTC_ADD_ID_CONSTRAINED
+ string "ssh-rsa-cert-v00@openssh.com"
+ string certificate
+ mpint rsa_d
+ mpint rsa_iqmp
+ mpint rsa_p
+ mpint rsa_q
+ string key_comment
+ constraint[] key_constraints
+
Note that the 'rsa_p' and 'rsa_q' parameters are sent in the reverse
order to the protocol 1 add keys message. As with the corresponding
protocol 1 "add key" request, the private key is overspecified to avoid
@@ -513,4 +535,4 @@ Locking and unlocking affects both protocol 1 and protocol 2 keys.
SSH_AGENT_CONSTRAIN_LIFETIME 1
SSH_AGENT_CONSTRAIN_CONFIRM 2
-$OpenBSD: PROTOCOL.agent,v 1.4 2008/07/01 23:12:47 stevesk Exp $
+$OpenBSD: PROTOCOL.agent,v 1.5 2010/02/26 20:29:54 djm Exp $