Closed Bug 1958771 Opened 1 year ago Closed 11 months ago

The "authenticatorId" is handles as a uint64 while the specification uses a non-null string made using up to 48 characters

Categories

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

defect

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: whimboo, Assigned: jschanck)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I noticed this issue when investigating bug 1957746. As per the WebAuthn specification the authenticatorId is a:

An non-null string made using up to 48 characters from the unreserved production defined in Appendix A of [RFC3986] that uniquely identifies the Virtual Authenticator.

But in our implementation it has a uint64_t type:
https://searchfox.org/mozilla-central/rev/e600058b50ddb4932be63d5a8926fb154398b679/dom/webauthn/nsIWebAuthnService.idl#94,105,110

As Dana mentioned on bug 1957746 comment 5 the specification may have changed after we implemented it but it was never corrected.

The severity field is not set for this bug.
:jschanck, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jschanck)
Severity: -- → S3
Flags: needinfo?(jschanck)
Priority: -- → P3
Assignee: nobody → jschanck
Status: NEW → ASSIGNED
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a029116ae05a align WebAuthn virtual authenticator `authenticatorId` with the specification. r=keeler,webdriver-reviewers,whimboo
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/089c146c218a align WebAuthn virtual authenticator `authenticatorId` with the specification. r=keeler,webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Flags: needinfo?(jschanck)
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: