[w3c/webauthn] bdcb93: Don't return an algorithm from [[DiscoverFromExter...

  Branch: refs/heads/issue-1984-get-return-alg
  Home:   https://github.com/w3c/webauthn
  Commit: bdcb938b242ff8b7a9ec74f1afdfcc54a14cc3c1
      https://github.com/w3c/webauthn/commit/bdcb938b242ff8b7a9ec74f1afdfcc54a14cc3c1
  Author: Emil Lundberg <emil@yubico.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Don't return an algorithm from [[DiscoverFromExternalSource]]

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

>Let |settings| be the [current settings object][2].
>
>Assert: |settings| is a [secure context][3].
>
>Let |global| be |settings|’ [global object][4].

[1]: https://w3c.github.io/webappsec-credential-management/#algorithm-create
[2]: https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object
[3]: https://html.spec.whatwg.org/multipage/webappapis.html#secure-context
[4]: https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-global



To unsubscribe from these emails, change your notification settings at https://github.com/w3c/webauthn/settings/notifications

Received on Tuesday, 1 October 2024 14:28:10 UTC