KPass icon indicating copy to clipboard operation
KPass copied to clipboard

Support Multiple Databases

Open kalaschnik opened this issue 3 years ago • 5 comments

Would be amazing if multiple databases could be supported. Maybe a future enhancement?

kalaschnik avatar Jul 16 '21 11:07 kalaschnik

Hello @Kalaschnik

That could be something quite useful, but due to the loading performance reported, mostly due to the Alfred JSON and keepassx limitations it would be increasing the loading time.

I'm thinking if to try to refactor the code using some other language implementing some kind of cache of the keys for the database to speed up the listing and look up. But that can raise some security concerns so I want to think about it and also I will have to look for time to do it.

Thanks for reporting improvements :)

Angoll avatar Jul 17 '21 16:07 Angoll

You may work around performance issues by introducing a sub command. For example kpass db1 for querying db1, etc. Thanks for the response.

kalaschnik avatar Jul 18 '21 10:07 kalaschnik

You could Edit the workflow and copy & paste the kpass script filter

In the kpass Script Filter edit the:

  • keywords with something like: kpass_db1
  • At the top of the script add the following line: export database="db1"

In the bin/bash Script Filter add:

  • At the top of the script add the following line: export database="db1"

This will make a command for the specific database, I think this will be a good workarround for your functionality

Angoll avatar Oct 02 '21 18:10 Angoll

That would not survive an update though?

kalaschnik avatar Oct 04 '21 09:10 kalaschnik