python-tuf/examples
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
..
client examples: Tweak download dir creation 2023-02-09 10:34:03 +02:00
manual_repo Whitespace changes to make new black linter happy 2023-02-06 15:29:28 +02:00
repository Metadata API: make new verify_delegate unaware of Metadata 2023-08-01 15:31:59 +02:00
uploader repository: Add typed edit_*() contextmanagers 2023-03-08 10:27:43 +02:00
README.md examples: Rename client example directory 2023-02-02 16:25:47 +02:00