Closed Bug 1017887 Opened 10 years ago Closed 10 years ago

rename token.js to include version or date; document authoritative source

Categories

(Hello (Loop) :: Client, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dmosedale, Unassigned)

References

Details

The deriveHawkCredentials code on elm <https://hg.mozilla.org/projects/elm/file/6159b4e9f5da/browser/components/loop/content/shared/libs/token.js> originally came from <https://github.com/ferjm/msisdn-verifier-client/blob/master/js/token.js>.

It's MPL, so there's no licensing thing to do here.  That said, it'd be great to figure out where the authoritative copy lives so that we can stay up to date.  It kinda looks like it came from the Mozilla identity team, but a few cursory searches with mxr haven't turned it up.
Note that the node hkdf code that that code is based on was written by Zack Carter on the identity team, so he's likely to know, if ferjm doesn't.
Blocks: loop_mvp
No longer depends on: loop_mvp
Blocks: 1017898
We removed token.js a while ago.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.