Closed Bug 1666458 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25670 - WebAuthn: implement credProps extension

Categories

(Core :: DOM: Web Authentication, task, P4)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25670 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25670
Details from upstream follow.

b'Martin Kreichgauer <martinkr@google.com>' wrote:

WebAuthn: implement credProps extension

WebAuthn L2 adds an extension called credProps that is meant to convey
additional attributes about a WebAuthn credential at registration time
back to the RP. Currently, the only such attribute is an (optional)
boolean 'rk' that indicates whether the registered credential was
client-side discoverable (aka 'resident key'). This is useful in
combination with another L2 feature, the ResidentKeyRequirement enum,
which adds a middle value ("preferred") to the previously boolean
resident key requirement in a WebAuthn registration request.

The 'rk' boolean in the extension output is optional because there are
authenticators that may create a discoverable credential, even though
the browser didn't request one. In particular, the CTAP2.0 authenticator
spec allows for this, but the CTAP2.1 spec doesn't. Hence, if resident
key creation was not requested, Chrome will not set the 'rk' field if
the responding authenticator is a CTAP2.0 device; but it will set 'rk'
to false for CTAP2.1 authenticators.

Bug: 1117630
Change-Id: Ide483fc9d597b3658197646f07e174b85d9984cb
Reviewed-on: https://chromium-review.googlesource.com/2410419
WPT-Export-Revision: 13e6e7bc6150354b116316039c6789946b2ce47e

Component: web-platform-tests → DOM: Web Authentication
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 8 subtests

Status Summary

Firefox

TIMEOUT: 2
NOTRUN : 6

Chrome

OK : 1
PASS : 7
FAIL : 1

Safari

ERROR : 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webauthn/getcredential-extensions.https.html: TIMEOUT (Chrome: OK, Safari: ERROR)
Bad extensions: extensions is string: TIMEOUT (Chrome: PASS)
extensions is null: NOTRUN (Chrome: PASS)
extensions is empty Array: NOTRUN (Chrome: PASS)
extensions is empty ArrayBuffer: NOTRUN (Chrome: PASS)
ignored extension: NOTRUN (Chrome: PASS)
extension ID too long: NOTRUN (Chrome: PASS)
credProps is only supported at registration: NOTRUN (Chrome: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f5141ae2174f
[wpt PR 25670] - WebAuthn: implement credProps extension, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.