python-tuf/tuf
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
..
api ngclient: pick old timestamp if new.ver is equal 2022-06-21 14:52:31 +03:00
ngclient ngclient: pick old timestamp if new.ver is equal 2022-06-21 14:52:31 +03:00
__init__.py python-tuf 1.1.0 2022-04-27 16:03:07 +03:00
py.typed Advertize type annotations with py.typed 2021-11-11 22:34:22 +02:00