Skip to content

Set residentKey option for webauthn to preferred#11489

Merged
vrajmohan merged 1 commit intomainfrom
vm-webauthn-residentKey-preferred
Nov 14, 2024
Merged

Set residentKey option for webauthn to preferred#11489
vrajmohan merged 1 commit intomainfrom
vm-webauthn-residentKey-preferred

Conversation

@vrajmohan
Copy link
Contributor

@vrajmohan vrajmohan commented Nov 8, 2024

It is expected that this will allow Android devices to create synced credentials using Google Password Manager, and for such devices to provide an AAGUID value.

changelog: User-facing Improvements, F/T Unlock passkeys, Set residentKey option for webauthn to preferred

🎫 Ticket

Link to the relevant ticket:
LG-14911

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Use Face/Touch Unlock to create an account. There should be no change in behavior.
  • If you use an Android device, you should see a value for aaguid saved in the table webauthn_configurations.

@vrajmohan vrajmohan force-pushed the vm-webauthn-residentKey-preferred branch from 50cbf0e to ebfddb0 Compare November 12, 2024 03:57
@vrajmohan vrajmohan marked this pull request as ready for review November 12, 2024 14:59
@vrajmohan vrajmohan requested a review from a team November 12, 2024 14:59
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

This should only be configured for platform authenticators. The WebAuthn code is shared between Security Key (roaming authenticator) and Face or Touch Unlock (platform authenticator).

You can see an example of how to differentiate on the line preceding the new configuration (authenticatorAttachment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IMO, this feels less opinionated than "discouraged".

@vrajmohan vrajmohan requested a review from aduth November 12, 2024 19:50
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Tested on Android and saw the passkey prompt and AAGUID logging

See https://cm-jira.usa.gov/browse/LG-14911. It is expected that
this will allow Android devices to create synced credentials using
Google Password Manager, and for such devices to provide an AAGUID value.

changelog: User-facing Improvements, F/T Unlock passkeys, Prefer residentKey for webauthn platform authenticators
@vrajmohan vrajmohan force-pushed the vm-webauthn-residentKey-preferred branch from 0b671c3 to 9db9245 Compare November 14, 2024 19:27
@vrajmohan vrajmohan merged commit ff42f7d into main Nov 14, 2024
@vrajmohan vrajmohan deleted the vm-webauthn-residentKey-preferred branch November 14, 2024 20:17
@aduth aduth mentioned this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants