Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for entries by UUID #1963

Closed
ftorto opened this issue May 16, 2018 · 13 comments
Closed

Search for entries by UUID #1963

ftorto opened this issue May 16, 2018 · 13 comments

Comments

@ftorto
Copy link

ftorto commented May 16, 2018

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

@TheZ3ro
Copy link
Contributor

TheZ3ro commented May 16, 2018

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

@droidmonkey
Copy link
Member

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.

@Felixoid
Copy link

Hello. Is there some progress?

@nniesen
Copy link

nniesen commented Feb 28, 2019

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.

@gaensler
Copy link

gaensler commented Jun 23, 2020

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.

@metal450
Copy link

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... :/

@droidmonkey
Copy link
Member

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

@metal450
Copy link

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.

@droidmonkey
Copy link
Member

This will be fully addressed in 2.7.0

@metal450
Copy link

Excellent! :)

@shibe2
Copy link

shibe2 commented Jul 12, 2022

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

@droidmonkey droidmonkey changed the title Find REF origin/usages in search box Search for entries by UUID Oct 1, 2022
@droidmonkey droidmonkey moved this to Quick Wins in KeePassXC 2.8.0 Dec 6, 2022
@droidmonkey droidmonkey moved this from Quick Wins to Next Maintenance Release in KeePassXC 2.8.0 Dec 6, 2022
@aceArt-GmbH
Copy link
Contributor

UUID search implemented in #9571 ;)

@github-project-automation github-project-automation bot moved this from Next Maintenance Release to Settings Overhaul in KeePassXC 2.8.0 Aug 6, 2023
@jhnielsen
Copy link

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

Make sure to use the correct search string format: uuid:"<uuid>".

You can find an explanation by clicking the ? symbol in the search pane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Settings Overhaul
Development

No branches or pull requests