w3c / webauthn

Web Authentication: An API for accessing Public Key Credentials
https://w3c.github.io/webauthn/
Other
1.19k stars 172 forks source link

Don't return an algorithm from [[DiscoverFromExternalSource]] #2168

Closed emlun closed 1 month ago

emlun commented 1 month ago

Fixes #1984.

This initialization of |settings| and |global| is copied from the equivalent steps of §2.5.4. Create a Credential in CredMan, which sets the arguments used to invoke the |constructCredentialAlg| in WebAuthn's [[Create]]:

Let |settings| be the current settings object.

Assert: |settings| is a secure context.

Let |global| be |settings|’ global object.


Preview | Diff