Skip to content
New issue

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

Better error message for wrong keystore password when using keystore API #611

Open
pablomendezroyo opened this issue Jul 11, 2022 · 0 comments
Labels
snack Small coding task TeamCerberus Under active development by TeamCerberus @Consensys

Comments

@pablomendezroyo
Copy link

Importing a keystore using the keymanager API with the correct password results in the following response

response: {"data":[{"status":"imported","message":null}]}

Importing a keystore using the keymanager API with the wrong password results in the following response

response: {"data":[{"status":"error","message":"Error importing keystore: Unable to add validator"}]}

The error message for the wrong password import should add more detailed information, such as

response: {"data":[{"status":"error","message":"Error importing keystore: Unable to add validator, wrong password provided"}]}
@jframe jframe added the TeamCerberus Under active development by TeamCerberus @Consensys label Jul 11, 2022
@siladu siladu added the snack Small coding task label Nov 14, 2022
@usmansaleem usmansaleem changed the title Better error message for wrong keystore password Better error message for wrong keystore password when using keystore API Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
snack Small coding task TeamCerberus Under active development by TeamCerberus @Consensys
Projects
None yet
Development

No branches or pull requests

3 participants