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

Browser service search for entries by UUID #4763

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

piegamesde
Copy link
Contributor

@piegamesde piegamesde commented May 19, 2020

This is my second take on implementing keepassxreboot/keepassxc-browser#533 .

The idea is to add custom handling for URLs that start with keepassxc://. If a search URL matches keepassxc://by-uuid/<uuid> and an entry with that UUID exists, it will be returned.

This concept could be extended to search for entries using other attributes or more complex search queries, but I don't plan on doing that.

Testing strategy

Successful dogfooding for multiple months (:

Type of change

  • ✅ New feature (change that adds functionality)

@droidmonkey
Copy link
Member

droidmonkey commented May 20, 2020

I like this way a lot more! We can extend this method to other attributes in the future.

@piegamesde
Copy link
Contributor Author

This has one drawback in the UI though: The allow confirmation dialog now says keepassxc://by-uuid/<UUID> is requesting access to the following entries. It would be more informative to display the client's ID in addition.

@piegamesde piegamesde force-pushed the uuid-matching branch 11 times, most recently from 805f8c7 to 2aea58a Compare May 20, 2020 15:52
@piegamesde piegamesde marked this pull request as ready for review May 20, 2020 16:15
@droidmonkey droidmonkey added this to the v2.6.1 milestone May 23, 2020
@droidmonkey droidmonkey modified the milestones: v2.6.1, v2.7.0 Jul 21, 2020
@droidmonkey droidmonkey changed the title Implement searching for Entries via UUID Browser service search for entries by UUID Aug 31, 2020
@droidmonkey
Copy link
Member

@varjolintu if you are good with this we can merge it.

@droidmonkey droidmonkey merged commit 6a35bbe into keepassxreboot:develop Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants