mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Application may have a "more secure" data store than the metadata cache is: Allow application to bootstrap the Updater with this more secure root. This means the Updater must also cache the subsequent root versions (and not just the last one). * Store versioned root metadata in local cache * maintain a non versioned symlink to last known good root * When loading root metadata, look in local cache too * Add a 'bootstrap' argument to Updater: this allows initializing the Updater with known good root metadata instead of trusting the root.json in cache Additional changes to current functionality: * when using bootstrap argument, the initial root is written to cache. This write happens every time Updater is initialized with bootstrap * The "root.json" symlink is recreated at the end of every refresh() Signed-off-by: Jussi Kukkonen <jkukkonen@google.com> |
||
|---|---|---|
| .. | ||
| generated_data | ||
| repository_data | ||
| __init__.py | ||
| repository_simulator.py | ||
| simple_server.py | ||
| test_api.py | ||
| test_examples.py | ||
| test_fetcher_ng.py | ||
| test_metadata_eq_.py | ||
| test_metadata_generation.py | ||
| test_metadata_serialization.py | ||
| test_repository.py | ||
| test_trusted_metadata_set.py | ||
| test_updater_consistent_snapshot.py | ||
| test_updater_delegation_graphs.py | ||
| test_updater_fetch_target.py | ||
| test_updater_key_rotations.py | ||
| test_updater_ng.py | ||
| test_updater_top_level_update.py | ||
| test_updater_validation.py | ||
| test_utils.py | ||
| utils.py | ||