Closed Bug 1025869 Opened 10 years ago Closed 10 years ago

Loop server is storing some DB keys with a dup user HMAC

Categories

(Hello (Loop) :: Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ferjm, Assigned: alexis+bugs)

References

Details

(Whiteboard: [qa-])

It seems that we are doing an extra HMAC for the user ID before storing things in the DB. For example, for the POST /registration call the result is:

1) "spurl.c033d393be4536..."
2) "hawkuser.6930ac67c5..."
3) "hawk.6930ac67c5..."

when it should be:

1) "spurl.6930ac67c5..."
2) "hawkuser.6930ac67c5..."
3) "hawk.6930ac67c5..."
Assignee: nobody → alexis+bugs
https://github.com/mozilla-services/loop-server/commit/9f04ee4fba1ea4c1b8dc6bf31d263787c2f7e387
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Verified in code and through unit tests.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.