• David Davidović's avatar
    [sync::proto] Add key derivation method field · aeacf8b3
    David Davidović authored
    Add a field to NigoriSpecifics (part of the Sync protocol) to signify
    the derivation method used to derive the key from a user's custom
    passphrase.
    
    Add accompanying enum which enumerates the possible options. Currently,
    only one such method is available.
    
    Also enable detection of the case when the method is not known, e.g.
    when an old client tries to access data committed and encrypted by a new
    client using a new key derivation method.
    
    TBRing dschuyler@ for chrome/browser/webui/settings/people_handler.cc
    because the change is a trivial file rename change.
    
    TBR=dschuyler@chromium.org
    
    Bug: 876297
    Change-Id: I7b603664a152f4999c8e0a3e1453b3edf611649a
    Reviewed-on: https://chromium-review.googlesource.com/1183667
    Commit-Queue: David Davidović <davidovic@google.com>
    Reviewed-by: default avatarMarc Treib <treib@chromium.org>
    Reviewed-by: default avatarvitaliii <vitaliii@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#586285}
    aeacf8b3
passphrase_enums.cc 3.02 KB