-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Placeholder for attachments #6947
Comments
Why? Just enter the information into a custom attribute, or just write the command out directly. There is no benefit to burying this in an attachment. |
Well, thanks for the tipp. The script thing was just a (bad) example. I would really think we should discuses this more then just close this issue without talking about it. |
An attachment is a file, it is meant to be opened and/or saved by a user. If you want content to use as placeholders or something else then put that in a custom attribute. |
I understand that, and you have a valid point. But why dont you want to improve the software to be able get the content of attachments as placeholders? Its a usefully feature. Now i have to store it as a attachment & custom attribute, which is unnecessary overhead. How should i handle binary files in custom attributes? EDIT: Perhaps this is a xy problem from my side. |
Accessing attachments from cli is about to be merged to develop branch and will be part of 2.7.0. You can see a preview of that here: #5538 |
Summary
I found out about "placeholders": https://keepass.info/help/base/placeholders.html
Is there a way to use "Attachements" placeholders? Found this here https://sourceforge.net/p/keepass/discussion/329220/thread/4b2ebfb6/#6a37 but that does not work for me (since its a feature request too)
Debug-Information
Examples
Use of
cmd://{ATTACHMENT:1}
in url field to execute shell/bash scripts stored as attachment.Context
Would be great to copy other attachments somewhere on the system and/or transfer them over ssh to another machine.
The text was updated successfully, but these errors were encountered: