#1667 Specify which database KeePass opens when an AutoType is initiated


A method where the user can specify which database is opened when a KeePass Workspace Unlock is triggered by global AutoType.

It would be very useful for the user to be able to specify which database KeePass opens when a user initiates an AutoType. This would facilitate the use of multiple databases and, by splitting passwords into separate databases, allow the selective synchronisation of passwords.

No triggers currently allow this to be done in v2.20.1 although I think that it should be possible using the "Activate database (select tab)" action. Unfortunately, it appears that KeePass does not correctly remember the last view settings when the "Activate database (select tab)" action is triggered during locking (database closing).

There is a discussion of some attempts to persuade KeePass to open a selected base on AutoType in the Help thread https://sourceforge.net/p/keepass/discussion/329221/thread/2b2e9da6/?limit=25#9a5c where Wellread1 says he and develop1 would like this feature - see https://sourceforge.net/p/keepass/discussion/329221/thread/bd6e6245/?limit=250#a05d


  • wellread1

    wellread1 - 2012-12-10

    This feature request should apply for all actions that trigger a Workspace un-lock, including clicking on a locked KeePass icon.

    Also, KeeAutoExec is not a solution because it does not address the issue of specifying the initial database to be un-locked during Workspace un-lock.

  • wellread1

    wellread1 - 2012-12-10

    It would be practical to implement an additional security scheme if this feature is implemented.

    In this scheme, an appropriately defined primary database is protected with a very strong password and thus is self-contained, fully portable, and has adequate protection for use in all environments. A secondary, optional database is used to automatically open, via a trigger, the primary database. The Master Key of the optional database can be chosen to provide appropriate protection in the local environment. The optional database is performing a role similar to a key file in this scheme.

    One capability of this scheme is that is allows a user to separate the convenience from the risk of linking a KeePass database to a Windows User Account.

    While the above scheme is technically possible now, a convenient implementation is impossible. This is because the user can not specify that the "key file" database be opened first when a workspace unlock is triggered (provided that this optional "key file" database was present in the Workspace at time of locking). Also, work-arounds that produce different outcomes depending on the method the user selects to un-lock the Workspace create confusion (e.g. special shortcuts).


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks