• cfroussios's avatar
    Migrate Libsecret for OSCrypt to a new schema · 02da78d1
    cfroussios authored
    Schemas for gnome-keyring and libsecret are not 100% interchangeable. To
    support gnome-keyring, we need to use equivalent schemas in both
    libraries. This will allow a user to upgrade their machine from gnome-keyring
    to libsecret, without chrome losing access to OSCrypt's encryption key.
    
    We correct the unfortunate initial choice for a schema by copying entries
    to the new schema.
    
    As a bonus, this will correct the mislabeling of some entries (see crbug/640603)
    
    BUG=639298
    
    Review-Url: https://codereview.chromium.org/2273723002
    Cr-Commit-Position: refs/heads/master@{#415254}
    02da78d1
key_storage_libsecret.cc 3.43 KB