Closed Bug 1647588 Opened 4 years ago Closed 4 years ago

Derive AET ecosystemUserId from kB when the user signs in

Categories

(Firefox :: Firefox Accounts, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: rfkelly, Assigned: rfkelly)

References

Details

Attachments

(1 file, 1 obsolete file)

In Bug 1635657 we will have Firefox synthesize a "placeholder" ecosystemUserId value for Account Ecosystem Telemetry, if one is not available from the FxA server. That's the best we can do for users who are already signed in to Firefox, but for new signins we can do one better and actually derive their long-lived ecosystemUserId value from their FxA root key kB, at the same time as we're deriving other key material such as kSync. We should do so!

(Note that we can only do this on Desktop because Desktop's special login flow gives it access to kB; on OAuth clients we need to rely on the FxA signin page to to the key derivation for us and return it via the scoped-keys flow).

Assignee: nobody → rfkelly
Status: NEW → ASSIGNED
See Also: → 1580398

This is getting out of hand; I'm going to spin off the bulk of the refactor work into a separate bug over in Bug 1661407.

Depends on: 1661407
Attachment #9171862 - Attachment is obsolete: true
Depends on: 1668972
Pushed by rkelly@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f0cbfb83a48e
Derive AET ecosystemUserId from kB when the user signs in. r=markh

Oof, sorry, now sure how that slipped through my local testing. Fixed and working locally, but I'll also push a try run for completeness before landing again.

Flags: needinfo?(rfkelly)
Pushed by rkelly@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/842045716617
Derive AET ecosystemUserId from kB when the user signs in. r=markh
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Duplicate of this bug: 1580398
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: