namada icon indicating copy to clipboard operation
namada copied to clipboard

Unknown key message while inputting wrong key password in signing-keys flag

Open McDaan opened this issue 2 years ago • 2 comments

By inputting a wrong password of an existing key in --signing-keys flag, it returns the following message:

[...]
Message:  called `Result::unwrap()` on an `Err` value: "Unknown key test"
Location: apps/src/lib/cli/context.rs:175
[...]

The key with alias test exists:

namadaw key find --alias test
Enter your decryption password:
Public key hash: 4FEB63BF0C8AC453B05DCEAD727FE69BB8BD5A55
Public key: 0006d7101fbc0b9cd868197ec75c24ea55ff93104c1b0494ef705bb6da73eb7316

So, it should return this error instead, right?

Error:
   0: Unable to decrypt the keypair. Is the password correct?

How to reproduce it? It happens on every command that involves --signing-keys flag.

McDaan avatar Sep 25 '23 11:09 McDaan

Hello, I'd like to contribute to this project. Has this issue been fixed?

Kofituo avatar Jan 10 '24 08:01 Kofituo

How can I reproduce the error? @McDaan @tzemanovic

Kofituo avatar Jan 11 '24 23:01 Kofituo

This should have been fixed, but please re-open if not.

cwgoes avatar Feb 02 '24 15:02 cwgoes