python-tuf/tuf/ngclient/_internal
Lukas Puehringer 15dd931609 Metadata API: make new verify_delegate unaware of Metadata
Change new _Delegator.verify_delegate to take payload bytes and
signatures instead of a Metadata object and a payload serializer.

This allows using verify_delegate for payloads that do not come in
a Metadata container, but e.g. in a DSSE envelope (see #2385).

Usage becomes a bit more cumbersome, but still feels reasonable with the
recently added shortcut for default canonical bytes representation of
Metadata.signed.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2023-08-01 15:31:59 +02:00
..
__init__.py ngclient: Add new client code 2021-07-05 10:45:19 +03:00
requests_fetcher.py Whitespace changes to make new black linter happy 2023-02-06 15:29:28 +02:00
trusted_metadata_set.py Metadata API: make new verify_delegate unaware of Metadata 2023-08-01 15:31:59 +02:00