python-tuf/tests
Lukas Puehringer 866409ffe9 Port securesystemslib.hash module
securesystemslib.hash is a small wrapper around hashlib, which serves
two main purposes:
* provide helper function to hash a file
* translate custom hash algorithm name "blake2b-256" to "blake2b" with
  (digest_size=32).

In preparation for the removal of securesystemslib.hash, this patch ports
above behavior to tuf and uses the builtin hashlib directly where
possible.

related secure-systems-lab/securesystemslib#943

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2025-03-18 16:39:46 +01:00
..
generated_data tests: Simplify test data generation 2024-12-11 10:11:55 +02:00
repository_data tests: Remove unused test files 2025-01-17 11:11:26 +02:00
__init__.py lint: Enable flake8-executable 2024-05-06 09:19:19 +03:00
repository_simulator.py Port securesystemslib.hash module 2025-03-18 16:39:46 +01:00
simple_server.py Fix typos 2025-03-10 22:06:30 +01:00
test_api.py Port securesystemslib.hash module 2025-03-18 16:39:46 +01:00
test_examples.py Fix typos 2025-03-10 22:06:30 +01:00
test_fetcher_ng.py swap invalid urls that are used in testing. (takes care of deprecation warning in #2776) 2025-02-12 00:07:38 -05:00
test_metadata_eq_.py Fix typos 2025-03-10 22:06:30 +01:00
test_metadata_generation.py tests: Simplify test data generation 2024-12-11 10:11:55 +02:00
test_metadata_serialization.py Use __future.annotations module 2024-11-29 12:41:09 +02:00
test_proxy_environment.py ProxyEnvironment: Handle no_proxy="*" 2025-02-20 10:56:23 +02:00
test_repository.py Fix typos 2025-03-10 22:06:30 +01:00
test_trusted_metadata_set.py Fix typos 2025-03-10 22:06:30 +01:00
test_updater_consistent_snapshot.py tests: Make tests cope with root history in local cache 2025-02-20 11:00:50 +02:00
test_updater_delegation_graphs.py Fix typos 2025-03-10 22:06:30 +01:00
test_updater_fetch_target.py Enable FA (future annotations) linting ruleset 2025-02-19 19:44:05 +07:00
test_updater_key_rotations.py Fix typos 2025-03-10 22:06:30 +01:00
test_updater_ng.py Merge pull request #2789 from jku/handle-proxy-variables 2025-03-04 02:58:47 +01:00
test_updater_top_level_update.py Fix typos 2025-03-10 22:06:30 +01:00
test_updater_validation.py lint: Enable flake8-executable 2024-05-06 09:19:19 +03:00
test_utils.py tests: Make sure tests can execute from root source dir 2024-12-11 10:11:55 +02:00
utils.py Fix typos 2025-03-10 22:06:30 +01:00