├── .gitattributes ├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml ├── scripts │ └── conformance-client.py └── workflows │ ├── _test.yml │ ├── _test_sslib_main.yml │ ├── cd.yml │ ├── ci.yml │ ├── codeql-analysis.yml │ ├── conformance.yml │ ├── dependency-review.yml │ ├── maintainer-permissions-reminder.yml │ ├── scorecards.yml │ └── specification-version-check.yml ├── .gitignore ├── .readthedocs.yaml ├── LICENSE ├── LICENSE-MIT ├── README.md ├── docs ├── 1.0.0-ANNOUNCEMENT.md ├── CHANGELOG.md ├── CODE-OF-CONDUCT.md ├── CODEOWNERS ├── CONTRIBUTING.rst ├── GOVERNANCE.md ├── INSTALLATION.rst ├── MAINTAINERS.txt ├── RELEASE.md ├── SECURITY.md ├── _config.yml ├── _posts │ ├── 2022-02-21-release-1-0-0.md │ ├── 2022-05-04-ngclient-design.md │ ├── 2022-06-15-testing-ngclient.md │ ├── 2022-10-21-python-tuf-security-assessment.md │ └── 2023-01-24-securesystemslib-signer-api.md ├── adr │ ├── 0000-use-markdown-architectural-decision-records.md │ ├── 0001-python-version-3-6-plus.md │ ├── 0002-pre-1-0-deprecation-strategy.md │ ├── 0003-where-to-develop-TUF-1-0-0.md │ ├── 0004-extent-of-OOP-in-metadata-model.md │ ├── 0005-use-google-python-style-guide.md │ ├── 0006-where-to-implemenent-model-serialization.md │ ├── 0008-accept-unrecognised-fields.md │ ├── 0009-what-is-a-reference-implementation.md │ ├── 0010-repository-library-design.md │ ├── index.md │ └── template.md ├── api │ ├── api-reference.rst │ ├── tuf.api.metadata.metadata.rst │ ├── tuf.api.metadata.root.rst │ ├── tuf.api.metadata.snapshot.rst │ ├── tuf.api.metadata.supporting.rst │ ├── tuf.api.metadata.targets.rst │ ├── tuf.api.metadata.timestamp.rst │ ├── tuf.api.rst │ ├── tuf.api.serialization.rst │ ├── tuf.ngclient.config.rst │ ├── tuf.ngclient.fetcher.rst │ ├── tuf.ngclient.rst │ └── tuf.ngclient.updater.rst ├── conf.py ├── index.md ├── index.rst ├── repository-library-design-ownership.jpg ├── repository-library-design-usage.jpg ├── repository-library-design.md ├── tuf-horizontal-white.png ├── tuf-icon-200.png └── tuf-icon-32.png ├── examples ├── README.md ├── client │ ├── README.md │ └── client ├── manual_repo │ ├── basic_repo.py │ ├── hashed_bin_delegation.py │ └── succinct_hash_bin_delegations.py ├── repository │ ├── README.md │ ├── _simplerepo.py │ └── repo └── uploader │ ├── README.md │ ├── _localrepo.py │ └── uploader ├── pyproject.toml ├── requirements ├── build.txt ├── dev.txt ├── docs.txt ├── lint.txt ├── main.txt ├── pinned.txt └── test.txt ├── tests ├── __init__.py ├── generated_data │ ├── __init__.py │ ├── ed25519_metadata │ │ ├── root_with_ed25519.json │ │ ├── snapshot_with_ed25519.json │ │ ├── targets_with_ed25519.json │ │ └── timestamp_with_ed25519.json │ └── generate_md.py ├── repository_data │ ├── client │ │ ├── map.json │ │ └── test_repository1 │ │ │ └── metadata │ │ │ └── current │ │ │ ├── role1.json │ │ │ ├── role2.json │ │ │ ├── root.json │ │ │ ├── snapshot.json │ │ │ ├── targets.json │ │ │ └── timestamp.json │ ├── fishy_rolenames │ │ ├── 1.a.json │ │ └── metadata │ │ │ ├── 1...json │ │ │ ├── 1.root.json │ │ │ ├── 1.targets.json │ │ │ ├── 1.ö.json │ │ │ ├── 2.snapshot.json │ │ │ └── timestamp.json │ ├── keystore │ │ ├── delegation_key │ │ ├── root_key │ │ ├── root_key2 │ │ ├── root_key3 │ │ ├── snapshot_key │ │ ├── targets_key │ │ └── timestamp_key │ └── repository │ │ ├── metadata │ │ ├── 1.root.json │ │ ├── role1.json │ │ ├── role2.json │ │ ├── root.json │ │ ├── snapshot.json │ │ ├── targets.json │ │ └── timestamp.json │ │ └── targets │ │ ├── file1.txt │ │ ├── file2.txt │ │ └── file3.txt ├── repository_simulator.py ├── simple_server.py ├── test_api.py ├── test_examples.py ├── test_fetcher_ng.py ├── test_metadata_eq_.py ├── test_metadata_generation.py ├── test_metadata_serialization.py ├── test_proxy_environment.py ├── test_repository.py ├── test_trusted_metadata_set.py ├── test_updater_consistent_snapshot.py ├── test_updater_delegation_graphs.py ├── test_updater_fetch_target.py ├── test_updater_key_rotations.py ├── test_updater_ng.py ├── test_updater_top_level_update.py ├── test_updater_validation.py ├── test_utils.py └── utils.py ├── tox.ini ├── tuf ├── __init__.py ├── api │ ├── __init__.py │ ├── _payload.py │ ├── dsse.py │ ├── exceptions.py │ ├── metadata.py │ └── serialization │ │ ├── __init__.py │ │ └── json.py ├── ngclient │ ├── README.md │ ├── __init__.py │ ├── _internal │ │ ├── __init__.py │ │ ├── proxy.py │ │ └── trusted_metadata_set.py │ ├── config.py │ ├── fetcher.py │ ├── requests_fetcher.py │ ├── updater.py │ └── urllib3_fetcher.py ├── py.typed └── repository │ ├── __init__.py │ └── _repository.py └── verify_release /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/scripts/conformance-client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/scripts/conformance-client.py -------------------------------------------------------------------------------- /.github/workflows/_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/_test.yml -------------------------------------------------------------------------------- /.github/workflows/_test_sslib_main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/_test_sslib_main.yml -------------------------------------------------------------------------------- /.github/workflows/cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/cd.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/conformance.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/conformance.yml -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/dependency-review.yml -------------------------------------------------------------------------------- /.github/workflows/maintainer-permissions-reminder.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/maintainer-permissions-reminder.yml -------------------------------------------------------------------------------- /.github/workflows/scorecards.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/scorecards.yml -------------------------------------------------------------------------------- /.github/workflows/specification-version-check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.github/workflows/specification-version-check.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/README.md -------------------------------------------------------------------------------- /docs/1.0.0-ANNOUNCEMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/1.0.0-ANNOUNCEMENT.md -------------------------------------------------------------------------------- /docs/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/CHANGELOG.md -------------------------------------------------------------------------------- /docs/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/CODE-OF-CONDUCT.md -------------------------------------------------------------------------------- /docs/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @theupdateframework/python-tuf-maintainers -------------------------------------------------------------------------------- /docs/CONTRIBUTING.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/CONTRIBUTING.rst -------------------------------------------------------------------------------- /docs/GOVERNANCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/GOVERNANCE.md -------------------------------------------------------------------------------- /docs/INSTALLATION.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/INSTALLATION.rst -------------------------------------------------------------------------------- /docs/MAINTAINERS.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/MAINTAINERS.txt -------------------------------------------------------------------------------- /docs/RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/RELEASE.md -------------------------------------------------------------------------------- /docs/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/SECURITY.md -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/_posts/2022-02-21-release-1-0-0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/_posts/2022-02-21-release-1-0-0.md -------------------------------------------------------------------------------- /docs/_posts/2022-05-04-ngclient-design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/_posts/2022-05-04-ngclient-design.md -------------------------------------------------------------------------------- /docs/_posts/2022-06-15-testing-ngclient.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/_posts/2022-06-15-testing-ngclient.md -------------------------------------------------------------------------------- /docs/_posts/2022-10-21-python-tuf-security-assessment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/_posts/2022-10-21-python-tuf-security-assessment.md -------------------------------------------------------------------------------- /docs/_posts/2023-01-24-securesystemslib-signer-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/_posts/2023-01-24-securesystemslib-signer-api.md -------------------------------------------------------------------------------- /docs/adr/0000-use-markdown-architectural-decision-records.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0000-use-markdown-architectural-decision-records.md -------------------------------------------------------------------------------- /docs/adr/0001-python-version-3-6-plus.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0001-python-version-3-6-plus.md -------------------------------------------------------------------------------- /docs/adr/0002-pre-1-0-deprecation-strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0002-pre-1-0-deprecation-strategy.md -------------------------------------------------------------------------------- /docs/adr/0003-where-to-develop-TUF-1-0-0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0003-where-to-develop-TUF-1-0-0.md -------------------------------------------------------------------------------- /docs/adr/0004-extent-of-OOP-in-metadata-model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0004-extent-of-OOP-in-metadata-model.md -------------------------------------------------------------------------------- /docs/adr/0005-use-google-python-style-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0005-use-google-python-style-guide.md -------------------------------------------------------------------------------- /docs/adr/0006-where-to-implemenent-model-serialization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0006-where-to-implemenent-model-serialization.md -------------------------------------------------------------------------------- /docs/adr/0008-accept-unrecognised-fields.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0008-accept-unrecognised-fields.md -------------------------------------------------------------------------------- /docs/adr/0009-what-is-a-reference-implementation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0009-what-is-a-reference-implementation.md -------------------------------------------------------------------------------- /docs/adr/0010-repository-library-design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/0010-repository-library-design.md -------------------------------------------------------------------------------- /docs/adr/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/index.md -------------------------------------------------------------------------------- /docs/adr/template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/adr/template.md -------------------------------------------------------------------------------- /docs/api/api-reference.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/api-reference.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.metadata.metadata.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.metadata.metadata.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.metadata.root.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.metadata.root.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.metadata.snapshot.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.metadata.snapshot.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.metadata.supporting.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.metadata.supporting.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.metadata.targets.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.metadata.targets.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.metadata.timestamp.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.metadata.timestamp.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.rst -------------------------------------------------------------------------------- /docs/api/tuf.api.serialization.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.api.serialization.rst -------------------------------------------------------------------------------- /docs/api/tuf.ngclient.config.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.ngclient.config.rst -------------------------------------------------------------------------------- /docs/api/tuf.ngclient.fetcher.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.ngclient.fetcher.rst -------------------------------------------------------------------------------- /docs/api/tuf.ngclient.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.ngclient.rst -------------------------------------------------------------------------------- /docs/api/tuf.ngclient.updater.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/api/tuf.ngclient.updater.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/repository-library-design-ownership.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/repository-library-design-ownership.jpg -------------------------------------------------------------------------------- /docs/repository-library-design-usage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/repository-library-design-usage.jpg -------------------------------------------------------------------------------- /docs/repository-library-design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/repository-library-design.md -------------------------------------------------------------------------------- /docs/tuf-horizontal-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/tuf-horizontal-white.png -------------------------------------------------------------------------------- /docs/tuf-icon-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/tuf-icon-200.png -------------------------------------------------------------------------------- /docs/tuf-icon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/docs/tuf-icon-32.png -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/client/README.md -------------------------------------------------------------------------------- /examples/client/client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/client/client -------------------------------------------------------------------------------- /examples/manual_repo/basic_repo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/manual_repo/basic_repo.py -------------------------------------------------------------------------------- /examples/manual_repo/hashed_bin_delegation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/manual_repo/hashed_bin_delegation.py -------------------------------------------------------------------------------- /examples/manual_repo/succinct_hash_bin_delegations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/manual_repo/succinct_hash_bin_delegations.py -------------------------------------------------------------------------------- /examples/repository/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/repository/README.md -------------------------------------------------------------------------------- /examples/repository/_simplerepo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/repository/_simplerepo.py -------------------------------------------------------------------------------- /examples/repository/repo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/repository/repo -------------------------------------------------------------------------------- /examples/uploader/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/uploader/README.md -------------------------------------------------------------------------------- /examples/uploader/_localrepo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/uploader/_localrepo.py -------------------------------------------------------------------------------- /examples/uploader/uploader: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/examples/uploader/uploader -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements/build.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/requirements/build.txt -------------------------------------------------------------------------------- /requirements/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/requirements/dev.txt -------------------------------------------------------------------------------- /requirements/docs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/requirements/docs.txt -------------------------------------------------------------------------------- /requirements/lint.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/requirements/lint.txt -------------------------------------------------------------------------------- /requirements/main.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/requirements/main.txt -------------------------------------------------------------------------------- /requirements/pinned.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/requirements/pinned.txt -------------------------------------------------------------------------------- /requirements/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/requirements/test.txt -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/generated_data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/generated_data/ed25519_metadata/root_with_ed25519.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/generated_data/ed25519_metadata/root_with_ed25519.json -------------------------------------------------------------------------------- /tests/generated_data/ed25519_metadata/snapshot_with_ed25519.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/generated_data/ed25519_metadata/snapshot_with_ed25519.json -------------------------------------------------------------------------------- /tests/generated_data/ed25519_metadata/targets_with_ed25519.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/generated_data/ed25519_metadata/targets_with_ed25519.json -------------------------------------------------------------------------------- /tests/generated_data/ed25519_metadata/timestamp_with_ed25519.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/generated_data/ed25519_metadata/timestamp_with_ed25519.json -------------------------------------------------------------------------------- /tests/generated_data/generate_md.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/generated_data/generate_md.py -------------------------------------------------------------------------------- /tests/repository_data/client/map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/client/map.json -------------------------------------------------------------------------------- /tests/repository_data/client/test_repository1/metadata/current/role1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/client/test_repository1/metadata/current/role1.json -------------------------------------------------------------------------------- /tests/repository_data/client/test_repository1/metadata/current/role2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/client/test_repository1/metadata/current/role2.json -------------------------------------------------------------------------------- /tests/repository_data/client/test_repository1/metadata/current/root.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/client/test_repository1/metadata/current/root.json -------------------------------------------------------------------------------- /tests/repository_data/client/test_repository1/metadata/current/snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/client/test_repository1/metadata/current/snapshot.json -------------------------------------------------------------------------------- /tests/repository_data/client/test_repository1/metadata/current/targets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/client/test_repository1/metadata/current/targets.json -------------------------------------------------------------------------------- /tests/repository_data/client/test_repository1/metadata/current/timestamp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/client/test_repository1/metadata/current/timestamp.json -------------------------------------------------------------------------------- /tests/repository_data/fishy_rolenames/1.a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/fishy_rolenames/1.a.json -------------------------------------------------------------------------------- /tests/repository_data/fishy_rolenames/metadata/1...json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/fishy_rolenames/metadata/1...json -------------------------------------------------------------------------------- /tests/repository_data/fishy_rolenames/metadata/1.root.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/fishy_rolenames/metadata/1.root.json -------------------------------------------------------------------------------- /tests/repository_data/fishy_rolenames/metadata/1.targets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/fishy_rolenames/metadata/1.targets.json -------------------------------------------------------------------------------- /tests/repository_data/fishy_rolenames/metadata/1.ö.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/fishy_rolenames/metadata/1.ö.json -------------------------------------------------------------------------------- /tests/repository_data/fishy_rolenames/metadata/2.snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/fishy_rolenames/metadata/2.snapshot.json -------------------------------------------------------------------------------- /tests/repository_data/fishy_rolenames/metadata/timestamp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/fishy_rolenames/metadata/timestamp.json -------------------------------------------------------------------------------- /tests/repository_data/keystore/delegation_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/keystore/delegation_key -------------------------------------------------------------------------------- /tests/repository_data/keystore/root_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/keystore/root_key -------------------------------------------------------------------------------- /tests/repository_data/keystore/root_key2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/keystore/root_key2 -------------------------------------------------------------------------------- /tests/repository_data/keystore/root_key3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/keystore/root_key3 -------------------------------------------------------------------------------- /tests/repository_data/keystore/snapshot_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/keystore/snapshot_key -------------------------------------------------------------------------------- /tests/repository_data/keystore/targets_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/keystore/targets_key -------------------------------------------------------------------------------- /tests/repository_data/keystore/timestamp_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/keystore/timestamp_key -------------------------------------------------------------------------------- /tests/repository_data/repository/metadata/1.root.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/metadata/1.root.json -------------------------------------------------------------------------------- /tests/repository_data/repository/metadata/role1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/metadata/role1.json -------------------------------------------------------------------------------- /tests/repository_data/repository/metadata/role2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/metadata/role2.json -------------------------------------------------------------------------------- /tests/repository_data/repository/metadata/root.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/metadata/root.json -------------------------------------------------------------------------------- /tests/repository_data/repository/metadata/snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/metadata/snapshot.json -------------------------------------------------------------------------------- /tests/repository_data/repository/metadata/targets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/metadata/targets.json -------------------------------------------------------------------------------- /tests/repository_data/repository/metadata/timestamp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/metadata/timestamp.json -------------------------------------------------------------------------------- /tests/repository_data/repository/targets/file1.txt: -------------------------------------------------------------------------------- 1 | This is an example target file. -------------------------------------------------------------------------------- /tests/repository_data/repository/targets/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_data/repository/targets/file2.txt -------------------------------------------------------------------------------- /tests/repository_data/repository/targets/file3.txt: -------------------------------------------------------------------------------- 1 | This is role1's target file. -------------------------------------------------------------------------------- /tests/repository_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/repository_simulator.py -------------------------------------------------------------------------------- /tests/simple_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/simple_server.py -------------------------------------------------------------------------------- /tests/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_api.py -------------------------------------------------------------------------------- /tests/test_examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_examples.py -------------------------------------------------------------------------------- /tests/test_fetcher_ng.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_fetcher_ng.py -------------------------------------------------------------------------------- /tests/test_metadata_eq_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_metadata_eq_.py -------------------------------------------------------------------------------- /tests/test_metadata_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_metadata_generation.py -------------------------------------------------------------------------------- /tests/test_metadata_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_metadata_serialization.py -------------------------------------------------------------------------------- /tests/test_proxy_environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_proxy_environment.py -------------------------------------------------------------------------------- /tests/test_repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_repository.py -------------------------------------------------------------------------------- /tests/test_trusted_metadata_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_trusted_metadata_set.py -------------------------------------------------------------------------------- /tests/test_updater_consistent_snapshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_updater_consistent_snapshot.py -------------------------------------------------------------------------------- /tests/test_updater_delegation_graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_updater_delegation_graphs.py -------------------------------------------------------------------------------- /tests/test_updater_fetch_target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_updater_fetch_target.py -------------------------------------------------------------------------------- /tests/test_updater_key_rotations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_updater_key_rotations.py -------------------------------------------------------------------------------- /tests/test_updater_ng.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_updater_ng.py -------------------------------------------------------------------------------- /tests/test_updater_top_level_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_updater_top_level_update.py -------------------------------------------------------------------------------- /tests/test_updater_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_updater_validation.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tests/utils.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tox.ini -------------------------------------------------------------------------------- /tuf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/__init__.py -------------------------------------------------------------------------------- /tuf/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tuf/api/_payload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/api/_payload.py -------------------------------------------------------------------------------- /tuf/api/dsse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/api/dsse.py -------------------------------------------------------------------------------- /tuf/api/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/api/exceptions.py -------------------------------------------------------------------------------- /tuf/api/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/api/metadata.py -------------------------------------------------------------------------------- /tuf/api/serialization/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/api/serialization/__init__.py -------------------------------------------------------------------------------- /tuf/api/serialization/json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/api/serialization/json.py -------------------------------------------------------------------------------- /tuf/ngclient/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/README.md -------------------------------------------------------------------------------- /tuf/ngclient/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/__init__.py -------------------------------------------------------------------------------- /tuf/ngclient/_internal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tuf/ngclient/_internal/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/_internal/proxy.py -------------------------------------------------------------------------------- /tuf/ngclient/_internal/trusted_metadata_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/_internal/trusted_metadata_set.py -------------------------------------------------------------------------------- /tuf/ngclient/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/config.py -------------------------------------------------------------------------------- /tuf/ngclient/fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/fetcher.py -------------------------------------------------------------------------------- /tuf/ngclient/requests_fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/requests_fetcher.py -------------------------------------------------------------------------------- /tuf/ngclient/updater.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/updater.py -------------------------------------------------------------------------------- /tuf/ngclient/urllib3_fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/ngclient/urllib3_fetcher.py -------------------------------------------------------------------------------- /tuf/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tuf/repository/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/repository/__init__.py -------------------------------------------------------------------------------- /tuf/repository/_repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/tuf/repository/_repository.py -------------------------------------------------------------------------------- /verify_release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theupdateframework/python-tuf/HEAD/verify_release --------------------------------------------------------------------------------