python-tuf/tuf/api
Martin Vrachev 5fd3ddccbc ngclient: pick old timestamp if new.ver is equal
In the spec version 1.0.30, a new change has been added considering what
should happen if there is a new timestamp with the same version.
It says the following:
"In case they [versions] are equal, discard the new
timestamp metadata and abort the update cycle.
This is normal and it shouldn't raise any error."

In other words, if there is a new timestamp with the same version, then
stop the update process and use the old timestamp.

Those changes reflect these latest specification modifications.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2022-06-21 14:52:31 +03:00
..
serialization Merge pull request #1876 from jku/more-details-on-verify-failure 2022-03-21 14:21:44 +02:00
__init__.py tuf/api: Expose tuf.api as a package 2020-10-15 14:35:14 +01:00
exceptions.py ngclient: pick old timestamp if new.ver is equal 2022-06-21 14:52:31 +03:00
metadata.py Root and Targets key API changes 2022-06-17 13:33:01 +03:00