9
9
----------------------------
10
10
* __ IMPORTANT NOTICE:__ A stable 1.0.0 release of the modern implementation only
11
11
is scheduled for January 2022. Please see the [ * 1.0.0
12
- announcement* ] ( 1.0.0-ANNOUNCEMENT.md ) page for more details about the release
12
+ announcement* ] ( docs/ 1.0.0-ANNOUNCEMENT.md) page for more details about the release
13
13
and the deprecation of the legacy implementation, including migration
14
14
instructions.*
15
15
@@ -19,31 +19,22 @@ This repository is the **reference implementation** of
19
19
It is written in Python and intended to conform to version 1.0 of the
20
20
[ TUF specification] ( https://theupdateframework.github.io/specification/latest/ ) .
21
21
22
- The repository currently includes two implementations:
23
- 1 ) A * legacy implementation* , with
24
- [ ` tuf/client/updater.py ` ] ( tuf/client/updater.py ) implementing the detailed
25
- client workflow and [ ` tuf/repository_tool.py ` ] ( tuf/repository_tool.py )
26
- providing a high-level interface for repository operations.
27
- The legacy implementation is in use in production systems, but is [ no longer
28
- being actively worked on] ( docs/adr/0002-pre-1-0-deprecation-strategy.md ) .
29
- 2 ) A * modern implementation* . We are in the process of rewriting the reference
30
- implementation in [ modern Python] ( docs/adr/0001-python-version-3-6-plus.md )
31
- to both: a) address scalability and integration issues identified in
32
- supporting integration into the Python Package Index (PyPI), and other
33
- large-scale repositories, and b) to ensure maintainability of the project.
34
- This implementation consists of:
35
- * a "low-level" metadata API, designed to provide easy and safe access to
36
- TUF metadata and handle (de)serialization from/to files, provided in the
37
- [ ` tuf/api/metadata.py ` ] ( tuf/api/metadata.py ) module.
38
- * an implementation of the detailed client workflow built on top of the
39
- metadata API, provided in the
40
- [ ` tuf/ngclient/updater.py ` ] ( tuf/ngclient/updater.py ) module.
41
- The modern implementation is not considered production ready and does not yet
42
- provide any high-level support for implementing
43
- [ repository operations] ( https://theupdateframework.github.io/specification/latest/#repository-operations ) ,
44
- though the addition of API to support them is planned.
22
+ Python-TUF provides two APIs:
23
+ * [ ` tuf.api.metadata ` ] ( https://theupdateframework.readthedocs.io/en/latest/api/tuf.api.html ) ,
24
+ a "low-level" API, designed to provide easy and safe access to TUF
25
+ metadata and to handle (de)serialization from/to files.
26
+ * [ ` tuf.ngclient ` ] ( https://theupdateframework.readthedocs.io/en/latest/api/tuf.ngclient.html ) ,
27
+ a client implementation built on top of the metadata API.
45
28
29
+ High-level support for implementing
30
+ [ repository operations] ( https://theupdateframework.github.io/specification/latest/#repository-operations )
31
+ is planned but not yet provided: see [ 1.0.0 plans] ( docs/1.0.0-ANNOUNCEMENT.md ) .
46
32
33
+ In addition to these APIs the project also provides a * legacy
34
+ implementation* with ` tuf.client ` implementing the client workflow and
35
+ ` tuf.repository_tool ` providing a high-level interface for repository
36
+ operations. The legacy implementation is going to be
37
+ [ deprecated] ( docs/1.0.0-ANNOUNCEMENT.md ) in the near future.
47
38
48
39
The reference implementation strives to be a readable guide and demonstration
49
40
for those working on implementing TUF in their own languages, environments, or
@@ -75,7 +66,8 @@ Documentation
75
66
-------------
76
67
* [ Introduction to TUF's Design] ( docs/OVERVIEW.rst )
77
68
* [ The TUF Specification] ( https://theupdateframework.github.io/specification/latest/ )
78
- * [ Getting Started with the TUF Reference Implementation] ( docs/GETTING_STARTED.rst )
69
+ * Examples: [ client] ( examples/client_example ) and [ repository] ( examples/repo_example )
70
+ * [ API Reference] ( https://theupdateframework.readthedocs.io/ )
79
71
* [ Governance] ( docs/GOVERNANCE.md ) and [ Maintainers] ( docs/MAINTAINERS.txt )
80
72
for the reference implementation
81
73
* [ Miscellaneous Docs] ( docs/ )
0 commit comments