Closed Bug 1639347 Opened 6 years ago Closed 6 years ago

Move the OS reauth logic in AboutLoginsParent to LoginHelper in toolkit

Categories

(Toolkit :: Password Manager, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: sfoster, Assigned: sfoster)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

In order to use master password and OS reauth in the password manager doorhangers (and potentially other gecko-based applications) we end up needing to duplicate a lot of the logic currently in AboutLoginsParent.jsm

We can move most of that to a shared helper, as long as it remains possible to have unique strings and expiration timers for each caller.

Priority: -- → P1
Summary: More the OS reauth logic in AboutLoginsParent to LoginHelper in toolkit → Move the OS reauth logic in AboutLoginsParent to LoginHelper in toolkit
  • Move MP and OSKeyStore.ensureLoggedIn checks from AboutLoginParent to new requestReauth method on LoginHelper
Blocks: 249801
Blocks: 1641391
No longer blocks: 249801
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8c662017aa7c Refactor the OSKeyStore reauthentication into a LoginHelper method, add canReauth method on OSKeyStore. r=MattN
Severity: -- → N/A
Attachment #9150293 - Attachment description: Bug 1639347 - Refactor the OSKeyStore reauthentication into a LoginHelper method, add canReauth method on OSKeyStore. r?MattN,Jaws → Bug 1639347 - Refactor the OSKeyStore reauthentication into a LoginHelper method. r?MattN,Jaws

I think I've fixed the browser_masterpassword.js test. I'll wait for this try push before re-landing: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ab0bd32e0b2483c59735a1f893a014b13152a4b4

Flags: needinfo?(sfoster)
Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c1820d13f7d2 Refactor the OSKeyStore reauthentication into a LoginHelper method. r=MattN
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78

Hi Sam, can you please mark it with qe verify "-" if this is something QA can not verify manually? I assume this doesn't need verification from us but do let me know otherwise. Thanks!

Flags: needinfo?(sfoster)
Flags: needinfo?(sfoster) → qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: