Closed Bug 1530373 Opened 5 years ago Closed 1 year ago

Web Authentication - Support CTAP2 via USB HID

Categories

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

66 Branch
Unspecified
All
enhancement

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: jcj, Assigned: jschanck)

References

()

Details

Attachments

(4 files)

This requires implementation in authenticator-rs:

Upstream CTAP2 Issue: https://github.com/mozilla/authenticator-rs/issues/33
Upstream Branch: https://github.com/mozilla/authenticator-rs/tree/ctap2

This work will support CTAP2 on platforms that don't restrict access to security keys:

  • 2018-era Windows 10 and all earlier versions of Windows
  • Linux
  • FreeBSD
  • MacOS (at least Mojave and earlier)
Priority: -- → P3

Can you warn the user that a U2F credential is going to be created on their FIDO2 device because Firefox doesn't support CTAP2 yet?
When using a FIDO2 device, credentials created on (Firefox, macOS) work on all combinations of (Chromium , Firefox) * (macOS, Windows 10) because I assume it creates a U2F credential.
However credentials created on (Chromium, macOS * Windows 10) or (Firefox , Windows 10) do not work on (Firefox, macOS).

It's a good thought, I don't know how to message that effectively. The energy there should probably be spent on the CTAP2 code, if I'm honest with myself.

Just upgraded to macOS Catalina Beta 8 and U2F doesn't work any more in Firefox (or FIDO2 in any browser for that matter). Could the OS have blocked directly access to security keys? Will there be a platform API like Windows 10?

Correction: U2F doesn't work any more in Firefox or Chromium on U2F-only sites like Google. WebAuthn sites still work with FIDO2 tokens in Chromium.

I wasn't aware of any plans like this. Unfortunately I'm traveling and can't put together a Catalina beta box for testing.

Can you test with https://u2f.bin.coffee/ and let me know what make/model security keys you tried? We'll have to open a separate bug for that.

Flags: needinfo?(kathampy)

I've filed an upstream ticket with Apple about this.

I've heard a Googler check Chromium on Catalina Beta 8 with U2F tokens had reports all is okay. Haven't checked Firefox yet, but perhaps it's your computer somehow?

(In reply to J.C. Jones [:jcj] (he/him) from comment #5)

Can you test with https://u2f.bin.coffee/ and let me know what make/model security keys you tried? We'll have to open a separate bug for that.
I used a YubiKey 5Ci. When I click "U2F Register" the pop-up appears, but nothing happens when touching the YubiKey. It doesn't even light up.

Flags: needinfo?(kathampy)
See Also: → 1586432

Any update?

Blocks: 1752089
Assignee: nobody → bugs
Attachment #9248240 - Attachment description: WIP: Bug 1530373 - Support CTAP2 via USB HID r=dveditz → WIP: Bug 1530373 - Support CTAP2 via USB HID r=rmf
Depends on: 1757583
Status: NEW → ASSIGNED
Depends on: 1757589
Attachment #9248240 - Attachment description: WIP: Bug 1530373 - Support CTAP2 via USB HID r=rmf → Bug 1530373 - Support CTAP2 via USB HID r=rmf
Priority: P3 → P1
Severity: normal → S3
Assignee: bugs → jschanck
Depends on: 1803213

The audit of serde_cbor 0.11.1 was performed by R. Martinho Fernandes. I've
copied his audit statement from https://phabricator.services.mozilla.com/D149897.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

I should have attached the certify audits to a different bug. The patch that landed is just a prerequisite for the main work in D129814.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06c98719ac0a
Support CTAP2 via USB HID r=supply-chain-reviewers,fluent-reviewers,flod,jschanck

Backed out for causing build bustages on cbindgen-metadata.json

Flags: needinfo?(jschanck)
Blocks: 1803832

msirringhaus needed to rebase the patch manually. He's done that, and I've confirmed that it builds now.

Flags: needinfo?(jschanck)
Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca7c33dd3bd3
vendor the latest version of authenticator. r=dveditz,supply-chain-reviewers
https://hg.mozilla.org/integration/autoland/rev/41701d785f98
Support CTAP2 via USB HID r=supply-chain-reviewers,fluent-reviewers,flod,ckerschb

Are we going to want a relnote for this?

Flags: needinfo?(jschanck)

It's pref'd for nightly only at the moment. I'll request a relnote if we change that.

Flags: needinfo?(jschanck)
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Regressions: 1804483
Regressions: 1804853
Duplicate of this bug: 1732474
Duplicate of this bug: 1795019
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: