python-tuf/tuf/ngclient/_internal
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
..
__init__.py ngclient: Add new client code 2021-07-05 10:45:19 +03:00
requests_fetcher.py import requests.exceptions is not necessary 2022-03-31 10:58:53 +02:00
trusted_metadata_set.py ngclient: pick old timestamp if new.ver is equal 2022-06-21 14:52:31 +03:00