| 1 |
--- |
| 2 |
title: "Python-TUF reaches version 1.0.0" |
| 3 |
author: Jussi Kukkonen and Lukas Pühringer |
| 4 |
--- |
| 5 |
|
| 6 |
The Python-TUF community is proud to announce the release of Python-TUF 1.0.0. |
| 7 |
The release, which is available on [PyPI](https://pypi.org/project/tuf/) and |
| 8 |
[GitHub](https://github.com/theupdateframework/python-tuf/), introduces new |
| 9 |
stable and more ergonomic APIs. |
| 10 |
|
| 11 |
<img align="right" src="../../../tuf-icon-200.png" width="200"/> |
| 12 |
|
| 13 |
Python-TUF is the reference implementation of [The Update |
| 14 |
Framework](https://theupdateframework.io/) specification, an open source |
| 15 |
framework for securing content delivery and updates. It protects against |
| 16 |
various types of supply chain attacks and provides resilience to compromise. |
| 17 |
|
| 18 |
For the past 7 releases the project has introduced new designs and |
| 19 |
implementations, which have gradually formed two new stable APIs: |
| 20 |
- [`ngclient`](https://theupdateframework.readthedocs.io/en/latest/api/tuf.ngclient.html): |
| 21 |
A client API that offers a robust internal design providing implementation |
| 22 |
safety and flexibility to application developers. |
| 23 |
- [`Metadata API`](https://theupdateframework.readthedocs.io/en/latest/api/tuf.api.html): |
| 24 |
A low-level interface for both consuming and creating TUF metadata. Metadata |
| 25 |
API is a flexible and easy-to-use building block for any higher level tool or |
| 26 |
library. |
| 27 |
|
| 28 |
Python-TUF 1.0.0 is the result of a comprehensive rewrite of the project, |
| 29 |
removing several hard to maintain modules and replacing them with safer and |
| 30 |
easier to use APIs: |
| 31 |
- The project was reduced from 4700 lines of hard to maintain code to 1400 |
| 32 |
lines of modern, maintainable code |
| 33 |
- The implementation details are now easier to reason about, which should |
| 34 |
accelerate future improvements on the project |
| 35 |
- Metadata API provides a solid base to build other tools on top of – as proven |
| 36 |
by the ngclient implementation and the [repository code |
| 37 |
examples](https://github.com/theupdateframework/python-tuf/tree/develop/examples/repository) |
| 38 |
- Both new APIs are highly extensible and allow application developers to |
| 39 |
include custom network stacks, file storage systems or public-key |
| 40 |
cryptography algorithms, while providing easy-to-use default implementations |
| 41 |
|
| 42 |
With this foundation laid, Python-TUF developers are currently planning next |
| 43 |
steps. At the very least, you can expect improved repository side tooling, but |
| 44 |
we're also open to new ideas. Pop in to |
| 45 |
[#tuf](https://cloud-native.slack.com/archives/C8NMD3QJ3) on CNCF Slack or |
| 46 |
[Github issues](https://github.com/theupdateframework/python-tuf/issues/new) |
| 47 |
and let’s talk. |