We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
When adding a target, if a private key is password protected and we enter the wrong password, signing fails, leaving the repo in an invalid state.
Workaround
Luckily the workaround is simple:
run the command again, this time enter the correct password
However, this should be handled properly.
To Reproduce make sure at least one of the relevant private keys is password protected, then add a target, e.g.:
tufup targets add --skip-patch 1.2.3 my_dist my_keystore
and enter an invalid password
Expected behavior
Observed behavior
cli command fails with
securesystemslib.exceptions.CryptoError: Decryption failed.
but the new archive file remains in the repository/targets directory
repository/targets
The text was updated successfully, but these errors were encountered:
dennisvang
No branches or pull requests
Describe the bug
When adding a target, if a private key is password protected and we enter the wrong password, signing fails, leaving the repo in an invalid state.
Workaround
Luckily the workaround is simple:
However, this should be handled properly.
To Reproduce
make sure at least one of the relevant private keys is password protected, then add a target, e.g.:
tufup targets add --skip-patch 1.2.3 my_dist my_keystore
and enter an invalid password
Expected behavior
Observed behavior
cli command fails with
but the new archive file remains in the
repository/targets
directoryThe text was updated successfully, but these errors were encountered: