2ami
2ami copied to clipboard
cannot open keyring: Specified keyring backend not available
I get this message
An unexpected error occurred. Use DEBUG=true to show logs.
2022/09/21 09:25:55 cannot open keyring: cannot open keyring: Specified keyring backend not available
❯ export 2AMI_RING="Network Management"
export: not an identifier: 2AMI_RING
Running on Fedora 36 with KDE DE.
Hello @rabin-io , not sure why I never saw this issue before :scream: 1 year and half is a long wait, are you still experiencing this issue?
It looks like there are 2 errors in your snippet.
This error
2022/09/21 09:25:55 cannot open keyring: cannot open keyring: Specified keyring backend not available
suggests that KDE is using a keyring backend that is not currently enabled. I suspect is because KDE uses KWallet and it is not enabled https://github.com/endorama/2ami/blob/27825ffb2fec2482696072de21d02a7aecbf2251/keyring.go#L12-L16
I'll add support for KWallet.
This error
❯ export 2AMI_RING="Network Management" export: not an identifier: 2AMI_RING
looks like a problem in your shell, as you get a "not an identifier" error and that does not look related to this tool.
Could you share:
- the shell you're running the command in
- which
2amiversion are you using?
Thanks for looking into it, I tried again with Fedora 40 which runs KDE 6, and it seems to work out of the box, but it still I can't set an environment variable starting with a number.