kee-org / keepassrpc

The KeePassRPC plugin that needs to be installed inside KeePass in order for Kee to be able to connect your browser to your passwords
GNU General Public License v2.0
635 stars 35 forks source link

Keepass unable to resolve the references in password fields #108

Closed momcilo78 closed 1 year ago

momcilo78 commented 4 years ago

I am not sure if this belongs to the plugin part of keepass or the firefox plugin, but I recently I have noticed that kee plugin fills in what ever is in the password field, and simply ignores the referenced field in another entry. E.g. if I have an entry that contains the master password, and a number of entries for services that use that same account, it used to be possible to use the references in password field, so once the password change occurs, I do not need to change 200+ entries.

Somewhere in the last 3 weeks this behavior has changed and kee/keepassrpc do not resolve the references anymore. 2

I assume this is in the keepassrpc level, but I may be wrong. Keepass 2: 2.45 KeePassRPC: 1.12.1.0 Kee: 3.5.19 Firefox: 7912

dlech commented 4 years ago

This feature has to be manually enabled since v1.8 or so. See https://forum.kee.pm/t/placeholder-handling/1100/1

momcilo78 commented 4 years ago

Thanks, I can confirm it works. It looks like I will have to do this on the database level despite risk. In short I have a limited number o entries that contain actual password values. One of this entry is the account for the LDAP hosted account, and all services that I normally access are connected to the LDAP. This means that each service has its own entry, which references the password from the master entry.

With present model:

Would it be possible to mark one or more actual entries as "safe" to be referenced by other entries?

luckyrat commented 1 year ago

KeePass does the dereferencing of placeholders rather than KeePassRPC so the concept of a "safe to be referenced" entry would be best implemented there rather than in this plugin. I don't imagine it would be a simple feature to add and may still require some changes to API usage in this (and other) plugins so maybe don't get your hopes up for it being implemented but I suppose it doesn't hurt to check out the KeePass discussion forums for similar proposals and suggest it if it's not already there - https://sourceforge.net/p/keepass/discussion/

By the way, in future, using the community forum will likely result in faster help (I've just added a GitHub issue template to make that clearer for people arriving at this repo from routes that don't already mention that).