Closed Bug 1345700 Opened 9 years ago Closed 9 years ago

Use X-I-U-S when uploading keys

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 692700
Tracking Status
firefox55 --- affected

People

(Reporter: rnewman, Unassigned)

Details

If two clients both enter generateNewSymmetricKeys, but don't race directly, both will upload and download their own keys, and will proceed with their sync. The first client's uploaded records will be encrypted with keys that were immediately replaced. The fix is to use X-If-Unmodified-Since to ensure that the upload is a compare-and-set. This used to be impossible, but Bug 693893 has now been fixed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.