Python reference implementation of The Update Framework (TUF)
Find a file
Jussi Kukkonen 4d99f78cf9 Rename manual repository example
I plan to add another repository example as well.

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
2022-11-28 12:13:00 +02:00
.github workflows: Add Scorecards workflow 2022-11-22 18:15:56 +02:00
docs Update security policy to use new reporting 2022-11-15 17:01:16 +01:00
examples Rename manual repository example 2022-11-28 12:13:00 +02:00
tests Rename manual repository example 2022-11-28 12:13:00 +02:00
tuf README: Remove limitations 2022-11-18 13:16:41 +02:00
.gitattributes Update gitattributes for test data 2022-07-26 17:37:55 +01: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 pyproject: Stop disabling urllib3 import checks in mypy 2022-11-21 11:59:36 +02:00
README.md workflows: Add Scorecards workflow 2022-11-22 18:15:56 +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 urllib3 from 1.26.12 to 1.26.13 2022-11-24 10:01:46 +00:00
requirements-test.txt build(deps): bump pylint from 2.15.5 to 2.15.6 2022-11-21 10:07:07 +00:00
requirements.txt build: Enable Python 3.11 in test matrix 2022-10-27 17:35:00 +03:00
tox.ini build: lint 'verify_release' with tox 2022-04-07 12:16:00 +02:00
verify_release verify_release: PEP 484 compliant annotations 2022-11-21 06:41:17 +00:00

TUF A Framework for Securing Software Update Systems

Build Coveralls Docs CII PyPI OpenSSF Scorecard


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

See SECURITY.md

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.