mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Here is the list of all breaking API changes: 1) The "role" and "key" arguments in "Root.add_key()" are in reverse order - "key" becomes first and "role" second. 2) "Root.remove_key()" has been renamed to "Root.revoke_key()". 3) The "role" and "keyid" arguments in "Root.revoke_key()" are in reverse order - "keyid" becomes first and "role" second. 4) The "role" and "key" arguments in "Targets.add_key()" are in reverse order - "key" becomes first and "role" second. 5) "Targets.remove_key()" has been renamed to "Targets.revoke_key()". 6) The "role" and "keyid" arguments in "Targets.revoke_key()" are in reverse order - "keyid" becomes first and "role" second. 7) In both methods "Targets.add_key()" and "Targets.revoke_key()" the "role" argument becomes an optional with a default value of None. Those changes are made in an effort to make those methods logical for both cases when standard roles and succinct_roles are used. The "Root" API change was done in order to preserve naming and argument order consistency with "Targets" API. Signed-off-by: Martin Vrachev <mvrachev@vmware.com> |
||
|---|---|---|
| .. | ||
| _posts | ||
| adr | ||
| api | ||
| 1.0.0-ANNOUNCEMENT.md | ||
| _config.yml | ||
| CHANGELOG.md | ||
| CODE-OF-CONDUCT.md | ||
| conf.py | ||
| CONTRIBUTING.rst | ||
| GOVERNANCE.md | ||
| index.md | ||
| index.rst | ||
| INSTALLATION.rst | ||
| MAINTAINERS.txt | ||
| RELEASE.md | ||
| repository-library-design-ownership.jpg | ||
| repository-library-design-usage.jpg | ||
| repository-library-design.md | ||
| tuf-horizontal-white.png | ||
| tuf-icon-32.png | ||
| tuf-icon-200.png | ||