Skip to content

Commit

Permalink
Add TODO to support other key algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
codingllama committed Mar 17, 2022
1 parent cb84f03 commit 599abe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/auth/webauthncli/fido2.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ func FIDO2Register(
}

// Can we create ES256 keys?
// TODO(codingllama): Consider supporting other algorithms and respecting
// param order in the credential.
ok := false
for _, p := range cc.Response.Parameters {
if p.Type == protocol.PublicKeyCredentialType && p.Algorithm == webauthncose.AlgES256 {
Expand Down

0 comments on commit 599abe1

Please sign in to comment.