python-tuf/tuf/api
Martin Vrachev 0c3131b4a2 Make keyids in Role a set
From the specification:
"Clients MUST ensure that for any KEYID represented in this key list
and in other files, only one unique key has that KEYID."

The “only one unique key has that KEYID” is a requirement which can’t
be achieved if two keyids are the same.
So, in order to mandate that requirement it makes sense to use a set
which will guarantee us the keyid’s uniqueness.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2021-04-27 15:26:13 +03:00
..
serialization Fix black docstring indentation errors 2021-04-27 14:08:24 +03:00
__init__.py tuf/api: Expose tuf.api as a package 2020-10-15 14:35:14 +01:00
metadata.py Make keyids in Role a set 2021-04-27 15:26:13 +03:00
pylintrc Manually standardize quotes where black cannot 2021-03-17 11:57:45 +01:00