commit | ca4cd2018cc71d4268b5ab416fbb4083db1f1c1f | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@HansenPartnership.com> | Thu Mar 21 08:23:08 2019 -0700 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Thu Mar 21 08:23:08 2019 -0700 |
tree | 569fa73f2eb23e090911509f6b78d89b7835477c | |
parent | 28376e188d6ecd6d86fbcb15bedd4baad6aa246a [diff] |
hidgd: add correct AUTHENTICATE response The key handle now contains the TPM representation of an elliptic curve key, so unpack this key and use it to sign the incoming challenge. This scheme is now sufficient to pass the https://webauthn.org test for both registration and login. However, the counter is ephemeral to the hidgd so we need a permanent solution for that as well. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>