diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-11-18 04:16:53 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-11-18 15:57:17 +1100 |
commit | 93fa2a6649ae3e0626cbff25c985a4573d63e3f2 (patch) | |
tree | 0cf255f216c8647238c3747f7239bc72b9ee4b9f | |
parent | b497e920b409250309c4abe64229237b8f2730ba (diff) |
upstream: correct description of fields in pub/private keys (was
missing curve name); spotted by Sebastian Kinne
OpenBSD-Commit-ID: 2a11340dc7ed16200342d384fb45ecd4fcce26e7
-rw-r--r-- | PROTOCOL.u2f | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PROTOCOL.u2f b/PROTOCOL.u2f index ca55c4297..4bd166bbb 100644 --- a/PROTOCOL.u2f +++ b/PROTOCOL.u2f | |||
@@ -58,12 +58,14 @@ the existing ecdsa-sha2-nistp* key types. | |||
58 | The format of a sk-ecdsa-sha2-nistp256@openssh.com public key is: | 58 | The format of a sk-ecdsa-sha2-nistp256@openssh.com public key is: |
59 | 59 | ||
60 | string "sk-ecdsa-sha2-nistp256@openssh.com" | 60 | string "sk-ecdsa-sha2-nistp256@openssh.com" |
61 | string curve name | ||
61 | ec_point Q | 62 | ec_point Q |
62 | string application (user-specified, but typically "ssh:") | 63 | string application (user-specified, but typically "ssh:") |
63 | 64 | ||
64 | The corresponding private key contains: | 65 | The corresponding private key contains: |
65 | 66 | ||
66 | string "sk-ecdsa-sha2-nistp256@openssh.com" | 67 | string "sk-ecdsa-sha2-nistp256@openssh.com" |
68 | string curve name | ||
67 | ec_point Q | 69 | ec_point Q |
68 | string application (user-specified, but typically "ssh:") | 70 | string application (user-specified, but typically "ssh:") |
69 | string key_handle | 71 | string key_handle |
@@ -75,6 +77,7 @@ information to the public key: | |||
75 | 77 | ||
76 | string "sk-ecdsa-sha2-nistp256-cert-v01@openssh.com" | 78 | string "sk-ecdsa-sha2-nistp256-cert-v01@openssh.com" |
77 | string nonce | 79 | string nonce |
80 | string curve name | ||
78 | ec_point Q | 81 | ec_point Q |
79 | string application | 82 | string application |
80 | uint64 serial | 83 | uint64 serial |