Guidelines

This site is for tech Q&A. Please keep your posts focused on the subject at hand.

Ask one question at a time. Don't conflate multiple problems into a single question.

Make sure to include all relevant information in your posts. Try to avoid linking to external sites.

Links to documentation are fine, but in addition you should also quote the relevant parts in your posts.

0 votes
446 views
446 views

When I have a KeePass entry with the path to a second KeePass database as the URL I can click "Copy Password" and "Open URL(s)" and then paste the copied password into the password field of the "Open Database" dialog to open the second database file (or alternatively press Ctrl-C, Ctrl-U, Ctrl-V to the same end).

However, when the second database is protected by an additional master key file, I need to manually select that file, which is inconvenient. How can I make it so that the master key field is automatically populated when opening the URL to the second database?

in Sysadmin
by (115)
2 18 33
edit history

Please log in or register to answer this question.

1 Answer

0 votes
 

Open the entry in question and go to the "Properties" tab. In the field "Override URL" you can specify a different handler for opening the URL of that entry. Load the key file via the commandline option -preselect.

Something like this will do what you want:

cmd://"{APPDIR}\keepass.exe" "{URL}" -preselect:"C:\path\to\your.key"
by (115)
2 18 33
edit history
...