Closed anarcat closed 3 years ago
Trocla does not set a proper status code when it fails to find a password format. This is unexpected:
$ trocla delete test; echo $? {} 0 $ trocla create test plain ; echo $? XXXXXXXXXXXX 0 $ trocla get test bcrypt; echo $? 0
I would have expected the last command to give a non-zero return code.
(I would also expect delete to fail properly as well, for what it's worth.)
delete
This makes it difficult to distinguish between "empty password" and "no password set", which should be distinguishable.
thanks! :)
Trocla does not set a proper status code when it fails to find a password format. This is unexpected:
I would have expected the last command to give a non-zero return code.
(I would also expect
delete
to fail properly as well, for what it's worth.)This makes it difficult to distinguish between "empty password" and "no password set", which should be distinguishable.