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

Unable to set keyring-backend value again after setting it to an incorrect value #1689

Open
ltfschoen opened this issue Dec 8, 2024 · 0 comments

Comments

@ltfschoen
Copy link

If I add an unknown keyring-backend value of local it is not possible to replace it with a valid one test without still encountering the error that was produced from adding the wrong one

(base) root@localhost:~# secretcli config set client keyring-backend local
Error: couldn't get keyring: local: unknown keyring backend [scrtlabs/[email protected]/crypto/keyring/errors.go:13]
(base) root@localhost:~# secretcli query bank balances secret1u9jfestafdkr5cr057e436puzp6agf2vvcejfc | jq
Error: couldn't get keyring: local: unknown keyring backend [scrtlabs/[email protected]/crypto/keyring/errors.go:13]
(base) root@localhost:~# secretcli config set client keyring-backend test
Error: couldn't get keyring: local: unknown keyring backend [scrtlabs/[email protected]/crypto/keyring/errors.go:13]

It was only possible to find out by inspecting secretcli config --help that showed secretcli config home was located at /root/.secretd, so I manually edited vim /root/.secretd/config/client.toml changing the value back to test

# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "test"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant