Closed andynog closed 2 years ago
That's odd. What happens if you don't explicitly mention the keyring backend? (Our default is "os".)
We've done transactions using the binary, so I'm wondering what the issue could be here. Whether it's just the flag failing, or can't interact with "os" keyring at all.
Also follow-up question: is this an Ubuntu server with a GUI/window environment installed?
Yes Ubuntu desktop (with a GUI)
Also I can use binaries from other chains on this machine eg. gaiad
and it works with os
@andynog Thanks for clarifying that. So I understand that when using GUI environments, the os
backend can fail because there might be multiple targets for it to use, e.g., both seahorse
as well as kwallet
might exist on the same system. Are you actually running this as a node/server/validator or just for local development purposes?
Your point on this working with gaiad
is interesting. Will look into why that's the case...
Closing this as likely an OS issue
What went wrong?
Trying to add a key using
cheqd-noded
cli on a Linux machine doesn't work ifkeyring-backend=os
, if usingkeyring-backend=test
then it works.How can we reproduce this bug?
Testing on an
Ubuntu (20.04)
Linux machine. Usingcheqd-noded
version0.6.0
.Trying to add a key on my machine and setting the
keyring-backend
toos
the key is not stored. But if I usetest
the key is stored.Command to add key with
keyring-backend=os
I get prompt ("Choose a password for the new keyring") by the operating systems to set a password to store the key and I chose a password and confirm it. But if I query the keys it doesn't show up:
Command to add key with
keyring-backend=test
And listing the keys in the
test
works:Environment
Not applicable
Bug prevalence
Everytime I run the command
Which browser/client application did you encounter the bug in? (if applicable)
Other
Relevant log output
Code of Conduct