When you run vault.sh and don't provide a password (or provide an incorrect password) you get the following vague error:
Exception encountered:java.lang.RuntimeException: Unable to get keystore ([/path/to/vault.keystore])
the actual exception is (before it's caught and rethrown as a generic RuntimeException):
java.io.IOException: Keystore was tampered with, or password was incorrect
Is that really intentional? I think we should tell the user that there is an issue with the password rather than a generic error that it can't be loaded which implies that there are other problems.
When you run vault.sh and don't provide a password (or provide an incorrect password) you get the following vague error:
the actual exception is (before it's caught and rethrown as a generic RuntimeException):
Is that really intentional? I think we should tell the user that there is an issue with the password rather than a generic error that it can't be loaded which implies that there are other problems.