keepassxc icon indicating copy to clipboard operation
keepassxc copied to clipboard

Search for entries by UUID

Open ftorto opened this issue 6 years ago • 11 comments

The way to answer my 2 following use cases is a bit complicated and I think look for REFerences directly from the search box could help :

  • I want to know what is the original entry pointed by the reference of my current entry
  • I want to find all the entries referencing my current entry

Expected Behavior

  • Paste the reference to check in searchbox
  • Entries depending on this reference AND entry matching this reference are displayed in results

Current Behavior

Currently, to know what is the original entry, I change {REF:U@I:<reference_id>} by {REF:T@I:<reference_id>} (note the U changed to T) as detailed in #433 and try to find the corresponding entry The second usecase can't be done

Possible Solution

Searchbox could be the easy way to implement but UX could be improved with right-click (as suggested in #433 too for a similar behaviour: copy the ref to clipboard)

Context

Context already detailed in summary above

ftorto avatar May 16 '18 07:05 ftorto

For the first point: "I want to know what is the original entry pointed by the reference of my current entry" should be nice to have an entry UUID option in the search engine, so you can search an entry by pasting his UUID (it's the <reference_id> in your examples). ping @droidmonkey

For the second one: "I want to find all the entries referencing my current entry" it's more complicated and I think will need some time to develop

TheZ3ro avatar May 16 '18 07:05 TheZ3ro

This would be better implemented as a GUI element. I have an idea for a "meta" database class that contains dynamically computed relationship and other information about the database after it is opened and/or changed.

droidmonkey avatar Jun 11 '18 03:06 droidmonkey

Hello. Is there some progress?

Felixoid avatar Aug 23 '18 09:08 Felixoid

In KeePass2, I can click on the {REF:...} to navigate to the source entry. I make extensive use of refs, especially with SSO/OAuth systems and when the login url is different, so its useful for me to be able to navigate to the source of the ref. I like that you show the resolved value of the ref but would like some means to navigate to it. I think this would negate the OPs first need but not their second need to see all children.

nniesen avatar Feb 28 '19 02:02 nniesen

Any news on this topic? I worked a lot on building databases with references lately and found the two mentioned features very useful:

Search entries by UUID - maybe showing both the entry with that UUID and entries using that UUID as reference would be confusing. I think there should be some kind of search-flag "don't) resolve in references", so you can toggle if references should be resolved during searching or not. This would make the search-behaviour more precise.

Copy UUID from right-click-menu would save a lot of clicks! Or maybe add an "copy attribute as reference" sub-menu to the right-click-menu like the existing "copy attribute" one.

I think those are actually two separate features for the whole reference thing... If this get's more attention i would open a request for the right-click-menu thing.

gaensler avatar Jun 23 '20 13:06 gaensler

I've spent the past several hours trying to figure out which entry is being referenced by another, & finally found my way here. Is there still no way to do this? With many hundreds of entries, going through & looking at each entry's UUID via its properties is pretty agonizing... :/

metal450 avatar Feb 22 '21 21:02 metal450

You could export the xml of the database using keepassxc-cli and search the xml for the uuid

droidmonkey avatar Feb 22 '21 23:02 droidmonkey

Thanks, I'll give that workaround a try for now.

Still do think it'd be nice to be able to directly search for UUID in the search box tho, I've had this issue a handful of times in the past as well.

metal450 avatar Feb 22 '21 23:02 metal450

This will be fully addressed in 2.7.0

droidmonkey avatar Feb 22 '21 23:02 droidmonkey

Excellent! :)

metal450 avatar Feb 22 '21 23:02 metal450

@droidmonkey I have KeePassXC 2.7.1, and I can't figure out how to search for UUID.

shibe2 avatar Jul 12 '22 07:07 shibe2

UUID search implemented in #9571 ;)

aceArt-GmbH avatar Jun 22 '23 09:06 aceArt-GmbH