Closed
Bug 929066
Opened 12 years ago
Closed 12 years ago
Handle minor clock skew when generating BrowserID certificates and assertions
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 29
People
(Reporter: nalexander, Assigned: rnewman)
References
Details
(Whiteboard: [qa+])
Attachments
(2 files)
A little clock skew (single-digit seconds) is very common between my laptop, Android device, and the multiple servers involved with generating an FxAccount certificate and exchanging for a token server token.
This ticket is a stop-gap; we will probably need to do more before we go to production. I've filed tickets for the relevant servers at [1] and [2].
[1] https://github.com/mozilla/picl-idp/issues/233
[2] https://github.com/mozilla/picl-oldsync/issues/3
| Reporter | ||
Comment 1•12 years ago
|
||
Attachment #819879 -
Flags: review?(rnewman)
| Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 819879 [details] [review]
Stop-gap allowing for local clock skew.
This patch is a truly terrible idea. As written, it generates certificates 20 seconds in the past, and assertions 10 seconds in the past. This works when we generate both locally, which is common in testing. In the wild, we will *never* generate certificates... so this introduces a 10 second or so window of instability. Live and learn.
Attachment #819879 -
Flags: review?(rnewman)
| Assignee | ||
Comment 3•12 years ago
|
||
Untested. Thoughts?
Attachment #8362029 -
Flags: feedback?(nalexander)
| Assignee | ||
Updated•12 years ago
|
Assignee: nalexander → rnewman
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/services/services-central/rev/07195f5c3eb3
If this worked, incidence of timing-related auth failures should be reduced. Nick, please let me know when you try a build!
Whiteboard: [fixed in services][qa+]
| Assignee | ||
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in services][qa+] → [qa+]
Target Milestone: --- → Firefox 29
| Assignee | ||
Updated•12 years ago
|
| Reporter | ||
Comment 6•12 years ago
|
||
Comment on attachment 8362029 [details] [review]
Proposed patch. v1
This landed a while back. And is good!
Attachment #8362029 -
Flags: review+
Attachment #8362029 -
Flags: feedback?(nalexander)
Attachment #8362029 -
Flags: feedback+
Updated•8 years ago
|
Product: Android Background Services → Firefox for Android
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•