Python reference implementation of The Update Framework (TUF)
Find a file
lukpueh 4f6e617bc6
Merge pull request #1769 from lukpueh/rm-duplicate-docs
doc: remove duplicate outdated docs
2022-01-14 10:10:41 +01:00
.github Add workflows permissions 2022-01-11 10:11:56 +01:00
docs Merge pull request #1769 from lukpueh/rm-duplicate-docs 2022-01-14 10:10:41 +01:00
examples ngclient: Rename constructor arg 2021-12-15 13:22:24 +02:00
tests ngclient: clean temp file if write fails 2022-01-11 13:43:11 +02:00
tuf doc: remove duplicate outdated docs 2022-01-13 17:02:53 +01:00
.gitattributes Add .gitattributes file 2021-03-23 18:16:32 +02:00
.gitignore Add vscode project directory to gitignore 2021-10-21 13:30:46 +01:00
.readthedocs.yaml Add the fail on warning to the readthedocs conf 2021-12-16 10:04:58 +01: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
MANIFEST.in build: more intentional about what's included in sdist 2021-10-21 13:30:46 +01:00
pylintrc Remove use of six 2021-04-09 14:07:44 +03:00
pyproject.toml Mypy: disable attr-defined warning 2021-12-09 16:44:25 +02:00
README.md doc: remove duplicate outdated docs 2022-01-13 17:02:53 +01:00
requirements-dev.txt build: add build and release deps to requirements-dev 2021-10-21 13:28:07 +01:00
requirements-docs.txt Add tox:docs environment 2021-08-23 18:25:07 +03:00
requirements-pinned.txt build(deps): bump charset-normalizer from 2.0.6 to 2.0.7 2021-10-20 08:40:11 +00:00
requirements-test.txt Metadata API: remove dateutil requirement 2021-12-14 11:23:40 +02:00
requirements.txt updated docs and comments 2021-07-14 10:37:08 +03:00
setup.cfg Remove obsolete fossa license scan config 2022-01-13 15:29:09 +01:00
tox.ini Simplify the tox envlist and add docs 2021-12-16 10:04:58 +01:00

TUF A Framework for Securing Software Update Systems

Build Coveralls Docs CII PyPI


IMPORTANT NOTICE: A stable 1.0.0 release of the modern implementation only is scheduled for January 2022. Please see the 1.0.0 announcement page for more details about the release and the deprecation of the legacy implementation, including migration instructions.


This repository is the reference implementation of The Update Framework (TUF). It is written in Python and 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 1.0.0 plans.

In addition to these APIs the project also provides a legacy implementation with tuf.client implementing the client workflow and tuf.repository_tool providing a high-level interface for repository operations. The legacy implementation is going to be deprecated in the near future.

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

Please contact us via our mailing list. Questions, feedback, and suggestions are welcomed on this low volume mailing list.

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 Konstantin Andrianov, Geremy Condra, Vladimir Diaz, Yuyu Zheng, Sebastien Awwad, Santiago Torres-Arias, Trishank Kuppusamy, Zane Fisher, Pankhuri Goyal, Tian Tian, Konstantin Andrianov, and Justin Samuel who are among those who helped significantly with TUF's reference implementation. Contributors and maintainers 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.