cmd:keepassxc-cli #295
-
Hi I don't know what the behavior should be, but my
My question is, each time keeppassxc-cli is called, it prompts you for the password, does |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
I’ve encountered this issue before, and it seems like it fails because it doesn’t prompt for a password. To work around it, I created another database specifically for APIs and assigned a key to it without a password, like this: cmd:keepassxc-cli show --no-password --k {path-to-key} -a {attribute} {path-to-kdbx} OpenAi This approach works, but I’d prefer not to have to do it this way. I’m curious about how the |
Beta Was this translation helpful? Give feedback.
-
If you have the 1Password CLI installed it will prompt you once per session for the password. It's been seamless in the last 10 months that I've been using it. |
Beta Was this translation helpful? Give feedback.
-
What about creating a small volume in VeraCrypt for this purpose? and load the key with |
Beta Was this translation helpful? Give feedback.
-
Based on the following article: How about the following (linux only) solution:
|
Beta Was this translation helpful? Give feedback.
-
Another option is to use local api_key
local get_gemini_api_key = function()
if not api_key then api_key = vim.fn.inputsecret "Please perform KeepassXC autotype for Gemini API key:" end
return api_key
end
...
api_key = get_gemini_api_key,
... |
Beta Was this translation helpful? Give feedback.
EDIT: @bassamsdata This is a reply to your first reply.
yes.
A slight drawback is that running nvim from a terminal (KDE Konsole in my case) and pressing the KeepassXC autotype shortcut the entry selection window contains all the entries mapped to
*Konsole*
so it takes a few more keystrokes to filter the API key entry.For the moment I've solved it by using a KDE KDialog window with a custom title: