summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PROTOCOL.u2f14
1 files changed, 12 insertions, 2 deletions
diff --git a/PROTOCOL.u2f b/PROTOCOL.u2f
index 823f53634..32bfa20f3 100644
--- a/PROTOCOL.u2f
+++ b/PROTOCOL.u2f
@@ -86,7 +86,7 @@ With a private half consisting of:
86 string "sk-ssh-ed25519@openssh.com" 86 string "sk-ssh-ed25519@openssh.com"
87 string public key 87 string public key
88 string application (user-specified, but typically "ssh:") 88 string application (user-specified, but typically "ssh:")
89 uint32 flags 89 uint8 flags
90 string key_handle 90 string key_handle
91 string reserved 91 string reserved
92 92
@@ -110,6 +110,8 @@ information to the public key:
110 string signature key 110 string signature key
111 string signature 111 string signature
112 112
113and for security key ed25519 certificates:
114
113 string "sk-ssh-ed25519-cert-v01@openssh.com" 115 string "sk-ssh-ed25519-cert-v01@openssh.com"
114 string nonce 116 string nonce
115 string public key 117 string public key
@@ -126,6 +128,15 @@ information to the public key:
126 string signature key 128 string signature key
127 string signature 129 string signature
128 130
131Both security key certificates use the following encoding for private keys:
132
133 string type (e.g. "sk-ssh-ed25519-cert-v01@openssh.com")
134 string pubkey (the above key/cert structure)
135 string application
136 uint8 flags
137 string key_handle
138 string reserved
139
129During key generation, the hardware also returns attestation information 140During key generation, the hardware also returns attestation information
130that may be used to cryptographically prove that a given key is 141that may be used to cryptographically prove that a given key is
131hardware-backed. Unfortunately, the protocol required for this proof is 142hardware-backed. Unfortunately, the protocol required for this proof is
@@ -188,7 +199,6 @@ For Ed25519 keys the signature is encoded as:
188 byte flags 199 byte flags
189 uint32 counter 200 uint32 counter
190 201
191
192ssh-agent protocol extensions 202ssh-agent protocol extensions
193----------------------------- 203-----------------------------
194 204