Closed Bug 1991050 Opened 1 year ago Closed 9 months ago

Use OS auth when OS auth is enabled and PrP is already unlocked

Categories

(Toolkit :: Password Manager, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: simonf, Assigned: simonf)

References

Details

Attachments

(1 external file)

Currently we prompt people for their primary password when we are trying to reauthenticate the user. Even if OS auth is available.

It would be a much better experience if this would only use actual OS authentication, e.g. a fingerprint scan when the PrP is already unlocked.

If the PrP is locked we need to prompt for it anyway so in that case we should skip the OS authentication.

Assignee: nobody → sfriedberger
Status: NEW → ASSIGNED
Attachment #9516397 - Attachment description: WIP: Bug 1991050: Use OS auth even if PrP is set. r=mtigley → Bug 1991050: Use OS auth even if PrP is set. r=mtigley

The remaining problem here is that not all platforms support OS authentication. For those cases we want a way to prompt for the PrP which does not lock the NSS token. That doesn't need to be solved here, though. We can just fix this only on platforms which do support reauthentication.

We briefly discussed adding a pref for this but concluded that, if people selected that they want OS auth, they should be getting OS auth. Even if they have a Primary Password set, because that should be used for encryption not for user authentication because authentication with OS auth would be less friction.

Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3228096d3b20 https://hg.mozilla.org/integration/autoland/rev/81ef65445652 Revert "Bug 1991050: Use OS auth even if PrP is set. r=mtigley,credential-management-reviewers,joschmidt" for causing bc failures on browser_primaryPassword.js

Backed out for causing bc failures on browser_primaryPassword.js

Backout link

Push with failures

Failure log

Flags: needinfo?(sfriedberger)
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6e94d932c94b https://hg.mozilla.org/integration/autoland/rev/5cabf311c60e Revert "Bug 1991050: Use OS auth even if PrP is set. r=mtigley,credential-management-reviewers,joschmidt" for causing bc failures @browser_sandbox_test.js.

Backed out for causing bc failures @browser_sandbox_test.js.

Flags: needinfo?(sfriedberger)
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
See Also: → 2031001
Regressions: 2031001
See Also: 2031001 →
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: