diff --git a/pyproject.toml b/pyproject.toml index 8b14283..9dbad81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "packaging>=21.3", "securesystemslib[crypto,pynacl]>=0.26.0", "setuptools>=65.5.1", - "tuf==3.1.*", + "tuf==4.0.*", # constraints on sub-dependencies "certifi>=2022.12.7", "cryptography>=38.0.3", diff --git a/src/tufup/client.py b/src/tufup/client.py index cade5ea..2a9a9e0 100644 --- a/src/tufup/client.py +++ b/src/tufup/client.py @@ -70,7 +70,7 @@ def trusted_target_metas(self) -> list: if self._trusted_set.targets: _trusted_target_metas = [ TargetMeta(target_path=key, custom=target.custom) - for key, target in self._trusted_set.targets.signed.targets.items() + for key, target in self._trusted_set.targets.targets.items() ] logger.debug(f'{len(_trusted_target_metas)} TargetMeta objects created') else: