Closed Bug 1813282 Opened 2 years ago Closed 2 years ago

Add the residentKey field to AuthenticatorSelectionCriteria

Categories

(Core :: DOM: Web Authentication, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: jschanck, Assigned: jschanck)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

The AuthenticatorSelectionCriteria dictionary has a residentKey field in WebAuthn level 2.

https://www.w3.org/TR/webauthn-2/#dictionary-authenticatorSelection

Attachment #9324079 - Attachment description: WIP: Bug 1813282 - Add the residentKey field to AuthenticatorSelectionCriteria. → Bug 1813282 - Add the residentKey field to AuthenticatorSelectionCriteria. r=keeler
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ccc54cebee26 Add the residentKey field to AuthenticatorSelectionCriteria. r=keeler,webidl,smaug

Backed out for causing build bustages in AndroidWebAuthnTokenManager.cpp.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/checkouts/gecko/dom/webauthn/AndroidWebAuthnTokenManager.cpp:159:19: error: no member named 'requireResidentKey' in 'mozilla::dom::WebAuthnAuthenticatorSelection'
Flags: needinfo?(jschanck)
Blocks: 1554397

Thanks for the suggestion. This patch will help us move Bug 1554397 forward. But, as for the backout, I just failed to update AndroidWebAuthnTokenManager in my patch.

Flags: needinfo?(jschanck)

Android implementation doesn't use requireResidentKey in Java side. So you can remove https://searchfox.org/mozilla-central/rev/31f5847a4494b3646edabbdd7ea39cb88509afe2/dom/webauthn/AndroidWebAuthnTokenManager.cpp#159-162 to land this. I will add resident key code by Bug 1554397 again.

Pushed by jschanck@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e97bbcd0eb44 Add the residentKey field to AuthenticatorSelectionCriteria. r=keeler,webidl,smaug
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: