Closed Bug 2008744 Opened 2 months ago Closed 1 month ago

Make full JSON serialized WebAuthn request available to WebAuthn services

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: jschanck, Assigned: jschanck)

References

Details

Attachments

(1 file)

We call platform WebAuthn APIs after deserializing the request and passing it over IPC, which means we need to map our internal representation of the request to each platform's representation. This is tedious and it slows the deployment of new features (e.g. Bug 1958716).

Some platform APIs, notably androidx.credentials, can take the JSON encoded request directly as input. We should make use of this when possible.

Attachment #9536023 - Attachment description: WIP: Bug 2008744 - pass JSON serialized WebAuthn requests to WebAuthnCredentialManager. → Bug 2008744 - pass JSON serialized WebAuthn requests to WebAuthnCredentialManager. r=keeler!,m_kato
Pushed by jschanck@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/caede9af7674 https://hg.mozilla.org/integration/autoland/rev/a0adbefe0865 pass JSON serialized WebAuthn requests to WebAuthnCredentialManager. r=m_kato,keeler,geckoview-reviewers,webidl,edgar,smaug
Pushed by nfay@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9730bd9d032b https://hg.mozilla.org/integration/autoland/rev/a5e90f5a36c9 Revert "Bug 2008744 - pass JSON serialized WebAuthn requests to WebAuthnCredentialManager. r=m_kato,keeler,geckoview-reviewers,webidl,edgar,smaug" for causing bustages @ WebAuthnHandler.cpp

Backed out for causing bustages @ WebAuthnHandler.cpp

Backout link

Push with failures

Failure log

Flags: needinfo?(jschanck)
Flags: needinfo?(jschanck)
Pushed by jschanck@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6db81dd78705 https://hg.mozilla.org/integration/autoland/rev/a00af42b49de pass JSON serialized WebAuthn requests to WebAuthnCredentialManager. r=m_kato,keeler,geckoview-reviewers,webidl,edgar,smaug
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6041a25bd585 https://hg.mozilla.org/integration/autoland/rev/0ce3b0f31601 Revert "Bug 2008744 - pass JSON serialized WebAuthn requests to WebAuthnCredentialManager. r=m_kato,keeler,geckoview-reviewers,webidl,edgar,smaug" for causing hazard bustages at TestWebAuthnSerialization.cpp.
Flags: needinfo?(jschanck)
Pushed by jschanck@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/22371ef633e4 https://hg.mozilla.org/integration/autoland/rev/1a85317b348f pass JSON serialized WebAuthn requests to WebAuthnCredentialManager. r=m_kato,keeler,geckoview-reviewers,webidl,edgar,smaug
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Regressions: 2012340
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: