commit | 7e8b462fc76543080695a0a932de6fb8dc5c5732 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Sat Feb 13 10:01:59 2021 -0800 |
committer | Janis Danisevskis <jdanis@google.com> | Tue Feb 16 17:30:33 2021 -0800 |
tree | 3148898417a470b234a2fb58cdc12edf8faa2ec2 | |
parent | 40f0e6b5c040c5eb190e000fcff419d707640e0e [diff] |
Keystore 2.0: Revise GC. * Store GC relevant information with blobs. * Marking a key unreferenced now deletes the main key entry and all associated artifacts from the database except the blobs and their associated metadata, which is left to the GC. * The GC is now automatically called by the DB module and it is now modular enough to use local test GC. Test: keystore2_test Change-Id: Iaf9e851d2895c8c457d160052fcab7f8d20e6555