Description[Sync] Add nigori node conflict resolution.
We merge the set of encryption keys, types, and non-encryption data in the
conflict resolver. If the server's keys are undecryptable we preserve them
until the user provides the passphrase, at which point we store back the
merged set of encryption keys. This way, once everything is resolved,
the default passphrase will be the one that was committed first, and all
clients will have all sets of encryption keys.
BUG=105615
TEST=sync_unit_tests. Manually attempt to set two different passphrases and
encrypted types on synced machines. Ensure everything works.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115248
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Re-add some lines lost in the split #
Total comments: 14
Patch Set 4 : Address comments #Patch Set 5 : Rebase + pass trans/cryptographer directly through #
Messages
Total messages: 8 (0 generated)
|