You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI missbehaving: option '--pw' doesn't work for '--sign' #999
doesn't work because the argument --pw is not being used to unlock the private key tufkeystore/private on the call to import_privatekey_from_file for each private key found here in sign_role.
Expected behavior:
One of following (sorted from personal favorite first):
The above mentioned repo.py --sign private --pw 1234 call works and the same password gets used for all the specified private keys.
A list a passwords can be provided corresponding to the list of private keys like repo.py --sign private1 private2 --pw 1234 5678
The parameter --pw gets rejected and a message is reported to the user.
Closing this issue as it was filed against (what is now known as) the legacy codebase: issue seems to not be relevant anymore. Please re-open or file a new issue if you feel that the issue is revelant to current python-tuf.
On CLI tooling specifically: python-tuf currently provides no CLI respository tool. The Metadata API makes it far easier to achieve the same results in a script than what was possible before, see examples/repo_example/.
Current source code (and upcoming 1.0 release) only contains the modern components
a low-level Metadata API (tuf.api) and
tuf.ngclient that implements the client workflow,
Legacy components (e.g. tuf.client, tuf.repository_tool, tuf.repository_lib as well as the repo and client scripts) are no longer included. See announcement and API reference for more details.
Activity
jku commentedon Feb 16, 2022
Closing this issue as it was filed against (what is now known as) the legacy codebase: issue seems to not be relevant anymore. Please re-open or file a new issue if you feel that the issue is revelant to current python-tuf.
On CLI tooling specifically: python-tuf currently provides no CLI respository tool. The Metadata API makes it far easier to achieve the same results in a script than what was possible before, see examples/repo_example/.
For experiments and testing I can also suggest https://github.com/vmware-labs/repository-editor-for-tuf (that is built on top of python-tuf) but please don't rely on it in a production setting.
More details
Current source code (and upcoming 1.0 release) only contains the modern components
tuf.api) andtuf.ngclientthat implements the client workflow,Legacy components (e.g. tuf.client, tuf.repository_tool, tuf.repository_lib as well as the repo and client scripts) are no longer included. See announcement and API reference for more details.