mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
The Document formats section (chapter 4) of the specification says the following: "All of the formats described below include the ability to add more attribute-value fields to objects for backward-compatible format changes. Implementers who encounter undefined attribute-value pairs in the format must include the data when calculating hashes or verifying signatures and must preserve the data when re-serializing." I initially thought it's applicable only to the SIGNED fields as "undefined attribute-value pairs in the format must include the data when calculating hashes or verifying signatures" This doesn't mean that the sentence before that excludes "Metadata" as a possible place for additional fields. The other maintainers agreed with me and we are going to add support for 'unrecognized_fields" inside "Metadata". Signed-off-by: Martin Vrachev <mvrachev@vmware.com> |
||
|---|---|---|
| .. | ||
| repository_data | ||
| .coveragerc | ||
| __init__.py | ||
| aggregate_tests.py | ||
| repository_simulator.py | ||
| simple_server.py | ||
| test_api.py | ||
| test_examples.py | ||
| test_fetcher_ng.py | ||
| test_metadata_serialization.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_utils.py | ||
| utils.py | ||