[openssh-commits] [openssh] 08/08: upstream: some more corrections for documentation problems spotted
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Dec 11 19:11:25 AEDT 2019
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit a62f4e1960691f3aeb1f972e009788b29e2ae464
Author: djm at openbsd.org <djm at openbsd.org>
Date: Tue Dec 10 23:37:31 2019 +0000
upstream: some more corrections for documentation problems spotted
by Ron Frederick
document certifiate private key format
correct flags type for sk-ssh-ed25519 at openssh.com keys
OpenBSD-Commit-ID: fc4e9a1ed7f9f7f9dd83e2e2c59327912e933e74
---
PROTOCOL.u2f | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/PROTOCOL.u2f b/PROTOCOL.u2f
index 823f5363..32bfa20f 100644
--- a/PROTOCOL.u2f
+++ b/PROTOCOL.u2f
@@ -86,7 +86,7 @@ With a private half consisting of:
string "sk-ssh-ed25519 at openssh.com"
string public key
string application (user-specified, but typically "ssh:")
- uint32 flags
+ uint8 flags
string key_handle
string reserved
@@ -110,6 +110,8 @@ information to the public key:
string signature key
string signature
+and for security key ed25519 certificates:
+
string "sk-ssh-ed25519-cert-v01 at openssh.com"
string nonce
string public key
@@ -126,6 +128,15 @@ information to the public key:
string signature key
string signature
+Both security key certificates use the following encoding for private keys:
+
+ string type (e.g. "sk-ssh-ed25519-cert-v01 at openssh.com")
+ string pubkey (the above key/cert structure)
+ string application
+ uint8 flags
+ string key_handle
+ string reserved
+
During key generation, the hardware also returns attestation information
that may be used to cryptographically prove that a given key is
hardware-backed. Unfortunately, the protocol required for this proof is
@@ -188,7 +199,6 @@ For Ed25519 keys the signature is encoded as:
byte flags
uint32 counter
-
ssh-agent protocol extensions
-----------------------------
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list