Open Bug 2066804 Opened 2 months ago Updated 1 month ago

Add support for "Set Credential Properties" for WebAuthn

Categories

(Remote Protocol :: Marionette, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:backlog])

The Set Credential Properties API was added to the WebAuthn specification, which now needs to be implemented. Here is the current spec:
https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties

Tests for this API will be downstream synced via bug 2064141.

John, are there any plans to add this API to the platform anytime soon? I didn't find an implementation bug yet. Thanks.

Flags: needinfo?(jschanck)
Priority: -- → P3
Whiteboard: [webdriver:backlog]
Duplicate of this bug: 2068647

Sorry for taking so long to respond. I'm going to redirect this to Michael, who is doing most of our WebAuthn development at the moment.

Flags: needinfo?(jschanck) → needinfo?(micolous+moz)

"Set Credential Properties" is a new feature in WebAuthn L3, added in https://github.com/w3c/webauthn/pull/1999 (and extended further in https://github.com/w3c/webauthn/pull/2382).

These are for https://github.com/w3c/webauthn/issues/1791, where an RP can check if the BE and BS properties have changed since credential creation and credential use (and even re-use), indicating the credential's transition between single-device and multi-device modality.

We don't have a tracking bug for this specific feature, so I've marked this as blocking Bug 1802863.

Firefox's support of synchronised credentials comes from platform APIs (on Android, macOS and Windows) and third-party browser extensions. The test authenticator never even sets the BE or BS flags (added in https://github.com/w3c/webauthn/issues/1692), nor does it support the backupEligibility or backupState parameters to AddCredential, because those were also added in WebAuthn L3.

I think this is a low priority right now.

Flags: needinfo?(micolous+moz)
See Also: → 2080193
See Also: → 2081517
You need to log in before you can comment on or make changes to this bug.