python-tuf/examples
Lukas Puehringer cb9aa4a362 ngclient: use Unwrapper in TrustedMetadataSet
Change TrustedMetadataSet to load and verify metadata using a
MetadataUnwrapper instance.

IMPORTANT NOTES:
* Requires changing the TrustedMetadataSet to store payloads only, which
  is okay, because signatures are no longer needed, after being verified
  at load time.

* Includes a minor re-ordering of validation steps.  That is, the
  version increment for root metadata is now checked after signature
  verification. Preserving the order would require including the check in
  the Unwrapper interface, which is feasible but does not seem correct wrt
  separation of responsibility.

Changes are adopted in updater, tests and _localrepo.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2024-02-21 16:24:29 +01:00
..
client examples: Tweak download dir creation 2023-02-09 10:34:03 +02:00
manual_repo Linter fixes from new black 2024-02-01 22:10:31 +02:00
repository Add to linting Configuration: 2024-02-20 00:34:47 -05:00
uploader ngclient: use Unwrapper in TrustedMetadataSet 2024-02-21 16:24:29 +01:00
README.md examples: Rename client example directory 2023-02-02 16:25:47 +02:00