python-tuf/tests
Jussi Kukkonen ed0ec03399 Metadata API: Fix verify_delegate for new Key API
verify_delegate() unfortunately needs an almost complete rewrite
as the Key.verify_signature() API change affects it quite a bit.

Refactoring the role and key lookup into a separate method makes the
code readable again.

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
2023-01-17 14:31:22 +02:00
..
generated_data tests, examples: Stop using Key constructors 2023-01-17 14:31:22 +02:00
repository_data test: drop legacy test metadata generation scripts 2022-01-26 14:52:04 +01:00
.coveragerc Update misc repo metadata after legacy code drop 2022-01-26 15:25:40 +01:00
__init__.py Support ISO 8601, vendor iso8601, clean codebase. 2014-04-19 14:27:53 -04:00
aggregate_tests.py Apply black on tests/aggregate_tests.py 2021-12-07 11:51:23 +02:00
repository_simulator.py tests, examples: Stop using Key constructors 2023-01-17 14:31:22 +02:00
simple_server.py tests: Remove unused options from simple_server 2022-01-21 11:31:09 +02:00
test_api.py Metadata API: Fix verify_delegate for new Key API 2023-01-17 14:31:22 +02:00
test_examples.py Rename manual repository example 2022-11-28 12:13:00 +02:00
test_fetcher_ng.py Reverted URL construction back to f-strings 2022-04-18 12:21:44 -04:00
test_metadata_eq_.py tests, examples: Stop using Key constructors 2023-01-17 14:31:22 +02:00
test_metadata_generation.py Provide a way to generate a simple repository 2022-03-22 18:13:54 +02:00
test_metadata_serialization.py tests, examples: Stop using Key constructors 2023-01-17 14:31:22 +02:00
test_trusted_metadata_set.py ngclient: pick old timestamp if new.ver is equal 2022-06-21 14:52:31 +03:00
test_updater_consistent_snapshot.py Fix linter errors in tests 2021-12-15 12:14:20 +02:00
test_updater_delegation_graphs.py tests: Improve succinct download test 2022-08-08 18:58:37 +03:00
test_updater_fetch_target.py ngclient: Fail gracefully on missing role 2022-11-28 11:20:31 +02:00
test_updater_key_rotations.py Root and Targets key API changes 2022-06-17 13:33:01 +03:00
test_updater_ng.py Reverted URL construction back to f-strings 2022-04-18 12:21:44 -04:00
test_updater_top_level_update.py ngclient: pick old timestamp if new.ver is equal 2022-06-21 14:52:31 +03:00
test_updater_validation.py Add tests for Updater input validation 2022-03-18 18:59:05 +02:00
test_utils.py test: drop legacy tests and test tooling 2022-01-26 15:13:17 +01:00
utils.py Grammar Fix 2022-06-27 18:09:43 +05:30