Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

feat: resident key protocol parameter (webauthn level-2) #133

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

james-d-elliott
Copy link
Contributor

@james-d-elliott james-d-elliott commented Feb 18, 2022

This implements the webauthn level-2 residentKey CredentialCreationOptions AuthenticatorSelectionCriteria parameter. See https://www.w3.org/TR/webauthn/#dom-authenticatorselectioncriteria-residentkey.

This was referenced Feb 18, 2022
This implements the webauthn level-2 residentKey CredentialCreationOptions parameter. Adds a setter for Logins that sets appropriate values based on the ResidentKeyRequirement type. The resident key value of required is the only value that should translate to requireResidentKey true, everything else should be false as per the spec. See https://w3c.github.io/webauthn/#dom-authenticatorselectioncriteria-residentkey.
Copy link
Contributor

@nicksteele nicksteele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! thanks for the addition!

@MasterKale MasterKale merged commit 4d1cf2d into duo-labs:master Feb 23, 2022
@james-d-elliott james-d-elliott deleted the feat-resident-key-proto branch March 1, 2022 05:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants