Python reference implementation of The Update Framework (TUF)
Find a file
Jussi Kukkonen 96232d2db0 verify_release: Tweak pip download
It seems --no-deps does not work as it used to (and actually installs
all build dependencies). This is very bad because verify_release also
uses "--no-binary :all:" leading to actually _building_ all build
dependencies from source.

Use "--no-binary tuf" instead: build dependencies will still be
installed (into a working environment) but at least they won't be built
from source.

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2022-04-27 17:54:36 +03:00
.github Restrict cd permissions to contents: write 2022-04-26 10:36:58 +02:00
docs python-tuf 1.1.0 2022-04-27 16:03:07 +03:00
examples examples: Use the constructor default arguments 2022-03-24 10:37:30 +02:00
tests Merge pull request #1960 from mnm678/spec-version 2022-04-20 09:57:24 +03:00
tuf python-tuf 1.1.0 2022-04-27 16:03:07 +03:00
.gitattributes gitattributes: make all JSON files end with LF 2022-03-22 16:42:00 +02:00
.gitignore gitignore: fix directory patterns 2022-03-09 11:54:15 +00:00
.readthedocs.yaml Update package metadata 2022-03-18 11:30:07 -04:00
LICENSE Move license files to root directory 2018-02-05 10:27:04 -05:00
LICENSE-MIT Remove license from Thandy files that are no longer present 2021-06-29 12:15:07 -04:00
pyproject.toml Update build config to include examples dir 2022-04-21 14:06:11 +02:00
README.md doc: reword announcement about upcoming 1.0.0 2022-02-18 15:23:37 +02:00
requirements-dev.txt build: add build and release deps to requirements-dev 2021-10-21 13:28:07 +01:00
requirements-docs.txt build: Remove docs build requirement version pin 2022-02-08 13:18:27 +02:00
requirements-pinned.txt build(deps): bump securesystemslib[crypto,pynacl] from 0.22.0 to 0.23.0 2022-04-27 10:08:17 +00:00
requirements-test.txt Merge pull request #1965 from theupdateframework/dependabot/pip/types-requests-2.27.20 2022-04-26 11:23:01 +03:00
requirements.txt Drop support for python version 3.6 2022-01-19 17:11:18 +02:00
setup.py build: Re-add setup.py 2022-02-08 09:12:28 +02:00
tox.ini build: lint 'verify_release' with tox 2022-04-07 12:16:00 +02:00
verify_release verify_release: Tweak pip download 2022-04-27 17:54:36 +03:00

TUF A Framework for Securing Software Update Systems

Build Coveralls Docs CII PyPI


The Update Framework (TUF) is a framework for secure content delivery and updates. It protects against various types of supply chain attacks and provides resilience to compromise. This repository is a reference implementation written in Python. It is intended to conform to version 1.0 of the TUF specification.

Python-TUF provides two APIs:

  • tuf.api.metadata, a "low-level" API, designed to provide easy and safe access to TUF metadata and to handle (de)serialization from/to files.
  • tuf.ngclient, a client implementation built on top of the metadata API.

High-level support for implementing repository operations is planned but not yet provided: see ADR 10.

The reference implementation strives to be a readable guide and demonstration for those working on implementing TUF in their own languages, environments, or update systems.

About The Update Framework

The Update Framework (TUF) design helps developers maintain the security of a software update system, even against attackers that compromise the repository or signing keys. TUF provides a flexible specification defining functionality that developers can use in any software update system or re-implement to fit their needs.

TUF is hosted by the Linux Foundation as part of the Cloud Native Computing Foundation (CNCF) and its design is used in production by various tech companies and open source organizations. A variant of TUF called Uptane is used to secure over-the-air updates in automobiles.

Please see TUF's website for more information about TUF!

Documentation

Contact

Questions, feedback, and suggestions are welcomed on our low volume mailing list or the #tuf channel on CNCF Slack.

We strive to make the specification easy to implement, so if you come across any inconsistencies or experience any difficulty, do let us know by sending an email, or by reporting an issue in the GitHub specification repo.

Security Issues and Bugs

Security issues can be reported by emailing jcappos@nyu.edu.

At a minimum, the report must contain the following:

  • Description of the vulnerability.
  • Steps to reproduce the issue.

Optionally, reports that are emailed can be encrypted with PGP. You should use PGP key fingerprint E9C0 59EC 0D32 64FA B35F 94AD 465B F9F6 F8EB 475A.

Please do not use the GitHub issue tracker to submit vulnerability reports. The issue tracker is intended for bug reports and to make feature requests. Major feature requests, such as design changes to the specification, should be proposed via a TUF Augmentation Proposal (TAP).

Limitations

The reference implementation may behave unexpectedly when concurrently downloading the same target files with the same TUF client.

License

This work is dual-licensed and distributed under the (1) MIT License and (2) Apache License, Version 2.0. Please see LICENSE-MIT and LICENSE.

Acknowledgements

This project is hosted by the Linux Foundation under the Cloud Native Computing Foundation. TUF's early development was managed by members of the Secure Systems Lab at New York University. We appreciate the efforts of all maintainers and emeritus maintainers, as well as the contributors Konstantin Andrianov, Kairo de Araujo, Ivana Atanasova, Geremy Condra, Zane Fisher, Pankhuri Goyal, Justin Samuel, Tian Tian, Martin Vrachev and Yuyu Zheng who are among those who helped significantly with TUF's reference implementation. Maintainers and Contributors are governed by the CNCF Community Code of Conduct.

This material is based upon work supported by the National Science Foundation under Grant Nos. CNS-1345049 and CNS-0959138. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.