How to handle keepassxc attachments #2396
-
Hey, AWESOME project! I have instantly migrated when I found it. How do I save a keepassxc attachment file (e.g. a ssh private key file to {{ .chezmoi.homeDir }}/.ssh/) to some directory? Here it says, the function "returns the attachment". I guess what I don't understand is how it returns it... (what type). I would have expected a keepassxcSaveAttachementAt function. I tried To add a file /home/dboe/.local/share/chezmoi/home/private_dot_ssh/private_id_ed25519.tmpl
Happy for any help or examples. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for the kind words!
|
Beta Was this translation helpful? Give feedback.
Thanks for the kind words!
keepassAttachment
returns the contents of the attachment. You needkeepassxc-cli
version 2.7.0 or later for this though, and from the "Invalid command attachment-export" error message, I suspect that your version is older than this.