QuickSearch

Note: I have stopped developing this plugin. However Dominik Reichl has created a version that is compatible with KeePass 2.17 for those of you who would like to use it anyway. No bugs have been fixed and I haven’t tested it. You have to see for yourself if it runs without problems.

QuickSearch is a search plugin for KeePass Password Safe v2. It can be used as a replacement for the built-in QuickFind toolbar control.

Features include:

  • search as you type aka instant search or incremental search
  • match anywhere
  • quick access to search settings

Screenshots:

Usage:

separate character strings by whitespace. A password entry is a match if all strings occur within a single  one of its fields regardless of their position in the field.

Warning: If you search in fields that have in-memory-protection they will get decrypted and thereby stay unencrypted in memory for a while.

Uninstall:

  • delete QuickSearch.dll
  • delete QuickSearch.config

Limitations:

– While QuickSearch has focus changes to your database (add/remove/modify entries) won’t be regarded until it has regained focus.

– The DropDown of the toolbar control has no purpose.

Download:

QuickSearch 2.14 b0.0.0.2 (18 KB) 2011-01-14

Source code (20 KB)

For KeePass 2.17 sent to me by Dominik Reichl:

QuickSearch 2.17 (18 KB)

Source code (24 KB)

75 Responses to “QuickSearch”

  1. arms Says:

    Great plugin, but, how to remove old search box from toolbar?

  2. Michael Says:

    When opening KeePass 2.14 with the QuickSearch.dll installed I receive an error that the QuickSearch plugin is not the correct version for this version of KeePass. Do you have the plugin available/compiled as a standard PLGX plugin?

    • profon Says:

      Currently I’m on vacation, sorry. I’m going to release a new version that is compatible with 2.14 when I’m back home (maybe in a week). I will try to make a PLGX plugin, too, so that we won’t have compatibility issues with future versions of KeePass.

    • profon Says:

      I have tried to make a PLGX file but KeePass can’t load it. So there won’t be a PLGX version released.

  3. Jowan Says:

    please update to 2.14 asap 😦

  4. Martin Says:

    I am using KeePass 2.14 and your dll 2.1.4.3012 that is dated 14 01 2011 that I beleive is the new version? I still get the message that is is not compatible. I am running KeePass as a portable app from the downloaded .zip. Please advise.
    I have only used KeePass for a couple of weeks and the quick search briefly. It has been useful in tidying up my passwords and catagorizing them after import. Thanks

    • profon Says:

      You’re using the correct dll. However I cannot reproduce the problem. I am using KeePass from the downloaded zip file, too. Let’s see if others report the same problem.

  5. Martin Says:

    I deleted the quicksearch.config (may I should have done that anyway) and the problem is solved.
    Thanks

  6. Rene Says:

    Is there a way to find the DLL for older KeePass versions? I would need it for KeePass 2.13…

  7. Kurt Says:

    Hi,

    two issues:

    1.) It’s not possible to search the folder/sub-folder names. Will that be implemented?

    2.) If I search for “test” I will get 5 entries. If I continue typing and end up with “tester” the search field turns red (no entry found), but there are still those 5 entries displayed, that matched for test. I think they should be removed from the list, and an empty list should be displayed, if there is no match.

    Thanks!
    Kurt

    • profon Says:

      Hi Kurt!

      1) I’ll put it on the todo list. But don’t expect changes too soon. I don’t have mucht time at the moment.

      2) Why do you think this should be changed? Please explain what use such a feature would have for you or others.
      I implemented it like it is now on purpose. Imagine you want to find “tester” but make a typing error after “test”, for example “testyr” and there is no match. Then you have 2 choices:
      a. you can correct the typing error
      b. you can look through the list of 5 entries that were found for “test” and find the the entry you were looking for manually.
      b is often faster.

  8. KeeForm Says:

    Hi, I tried to add your plugin to KeePlugini at http://www.keeform.org,

    but I also I get the message that it is not compatible. But I installed KeePass 2.14 … Cheers, Dave

  9. Petr Kohutek Says:

    Hallo

    The match anywhere function does not function. The search gets the words from the name of the entry, but it does not search through the note field. So when I look for a word used in the note, I have to use tho default search. Is it a bug?

    Otherwise I really like this plugin, the instant search is very convenient.

    Petr

    • profon Says:

      So far the only suggestion I can give you is to check the ‘Notes’ checkbox under ‘Search in’. Also note that all the words you enter have to occur in the ‘Notes’ field. You can’t mix words from the Notes field with words from other fields. At the moment I have no working computer. I will do my own testing as soon as I have one.

      Cheers

      • Petr Kohutek Says:

        It helped. I have not been aware that when I point at the search icon, that it will turn into options.
        It would be nice to have that also in the Settings accessible from menu.

        I think that many user may enjoy having a switch “Always search in complete tree” that will not limit the search to the branch, that is currently selected in the left pane.

        Thanks
        Petr

  10. Terry Says:

    I’m using Keepass Portable and when I try to install the plug-in nothing shows up.
    Is it compatible with Keepass Portable?

    • profon Says:

      it should be but there seems to be a bug if it is not working. I will have to investigate it.

    • Martin Says:

      I’m using this with KeePass Portable with Portable Apps, KeeFox and FireFox 4.0. All these work for me and work together. I did have an issue installing as I put the .dll in the plugins directory and it doesn’t work there. It goes in the KeePass directory.

  11. Chris Leonard Says:

    Hey, nice plugin! I’m wondering, is it possible to add ways to search based on create / modify date for the entry? For example, search for 6/*/2011 to find anything modified in June 2011, or some way to find entries changed in the last X days.

    • profon Says:

      I don’t see an easy way to implement this. I think only very few users would need this. Because I don’t have much time and other planned features are more important such a function probably won’t be implemented.

  12. Guillermo Says:

    Could you make this search to behave like lastpass search?

    After search something if you press enter the first element in the list will be automatically open, login into the website, and the keepass interface hide.

    Thanks

  13. user Says:

    Please update to 2.16
    10x for your work!

  14. steve88 Says:

    Great plugin.. but I think it’s worth mentioning you shouldn’t put this dll in the plugin folder, but in the root. (Next to keepass.exe). This way it will work. (I’m using 2.16). You won’t get a message about a incompatible plugin..
    Cheers!
    John

    • Modoc Says:

      steve88, Thanks for that information that fixed the problem I was have been with the plug-in. Seems to be working well now.

  15. Serg Says:

    steve88, your advice working!
    profon, you should place it шт the description!

  16. guest Says:

    Great plugin!
    It would be nice if you could fix the problem with KeePass 2.17
    Message: Unable to cast object of type ‘KeePassLib.PwEntry’ to type ‘KeePass.UI.PwListItem’.

  17. randomcore Says:

    not working with KeePass v2.17. brings the application to crash.

  18. Anonymous Says:

    Soory for stopping development, it would be very usefull to have a app like yours.
    Anyway thanks for your work.
    Do you know if there is any similar app?
    Best wishes for your future

    • profon Says:

      no, as far as I know there is no other plugin like this. Personally I use another password manager (Password Agent) that has a similar feature.

      • randomcore Says:

        Than be so nice and put it on a open source platform like Sourceforge or similar. Maybe you will find someone, who’s willed and able to continue development. It was a very useful extension and I’m very happy with KeePass.

        I’m not so deep into coding, but that’s just an plugin for a .NET Framework using piece of software. Someone could update it with just a few lines of code, hm?

        Thanks in advance.

        • profon Says:

          At the moment I’m too lazy to put it on sourceforge because then I would have to think about a license.

          There might be only a line that needs to be changed in order to make it compatible with KeePass 2.17.
          Dominik Reichl worte me an email. He says: “I think all you need to do is to change line 262 in
          SearchController.cs from
          lvi.Tag = pe;
          to
          lvi.Tag = new KeePass.UI.PwListItem(pe);”

          However this won’t fix all the bugs this plugin still has.

  19. randomcore Says:

    Okay 🙂

    But it was a bit faster than KeePass’ internal search feature. Maybe you’ll someday find a bit time and think about a license. Possibly Dominik could take it over and make it part of KeePass by replacing its internal search feature.

    Thanks for reply.

  20. randomcore Says:

    Very well working! Thank you, Dominik and Profon!

  21. Anonymous Says:

    Dominik Reichl, Thanks you !!!!!

  22. Anonymous Says:

    I am trying plugin version by D. Reichl with portable version of KeePass 2.17.
    I have checked ‘search in Notes CTRL-F’ but searching in Notes doesn’t work for me :-(.

  23. johnp2343 Says:

    Dominik’s version 2.17 DOES WORK in version 2.19 of keepass.
    Superb
    Have been missing this feature from Password Agent.
    Please keep up the development.

    • Mikhail Says:

      Just tested with Keepass 2.19 – Keepass says that plugin is not compatible with current version of Keepass 😦

  24. herztripper Says:

    That’s because you’re using different version of .NET. If you update some components via windows update, KeePass often needs to compile some plugins again and now you’re in the trap, that it won’t work with latest version of KeePass. If it worked for you with 2.18 and you just updated KeePass to 2.19 without updating .NET in the meantime, the plugin will still work. The author needs to update it again for latest version of KeePass.

  25. Anonn Says:

    Works in 2.20. Dominiques version. Thanks guys.

  26. LG Says:

    Note Dominik ‘s version doesn’t work with version 2.22 😦

  27. Anonymous Says:

    Just tried Dominik’s version with 2.22 portable, working ok here.

  28. Thierry G. Says:

    Dominik’s version works with Portable KeePass 2.23 🙂

  29. Anonymous Says:

    QuickSearch 2.17 works with KeePass v2.24. It must be placed in the KeePass root directory, it doesn’t work in a subdirectory.

  30. Prince Dercon Says:

    Hi, This really is a great plugin. It is working only for keepass v2.24 and not for v2.25. Please update the plugin for v2.25 version (If possible release a plugin that is compatible with all future versions).

    I am not using latest keepass without this plugin as I am addicted to quick search !!!!

  31. Anonymous Says:

    Nice, 2.17 works with keepass 2.25 also. Just need to place QuickSearch.dll in main folder of keepass, and restart it. Thanks a lot 🙂

  32. erol Says:

    where does one find Dominik’s version?

  33. EricB Says:

    I just installed the new Keepass 2.26 over my existing (portable) 2.25 version. All of a sudden QuickSearch.dll (the latest 2.17) is marked as being an incompatible plugin. Checking the details it seems a dependency problem, but I’m not a programmer, so I can’t really say if this is due to Keepass or the plugin.

  34. Anonymous Says:

    I can confirm that Quicksearch for KeePass 2.17 is working with KeePass 2.27 (portable install). Just place the DLL into the main folder of KeePass.

  35. EricB Says:

    Anonymous, Thx for the heads-up. Indeed with Keepass 2.27 portable it is functioning again.

  36. Gmaster Says:

    Hi,
    with Keepass 2.27 I can’t use it without error.
    It always says something like UI.Label can’t bei transformed.
    Maybe it is an error with the other plugins I use.
    But the Main Idea of the search plugin is great.

  37. AlexVallat Says:

    Hi Profon, don’t know if you’re still around or not, but if you are: I’ve posted a fixed-up version of QuickSearch to the KeePass forums:

    https://sourceforge.net/p/keepass/discussion/329221/thread/d8e1696d/#a77a

    If you have any objection to me using your source code for this, please just let me know and I’ll take it down.

  38. Lifehacker Faceoff: The Best Password Managers, Compared - Binary Reveux Says:

    […] alter how KeePass works. This includes adding syncing through service like Google Drive or Dropbox, adding enhanced search, creating password strength reports, and […]

  39. Lifehacker Faceoff: The Best Password Managers, Compared | Emelar IT Group Says:

    […] alter how KeePass works. This includes adding syncing through service like Google Drive or Dropbox, adding enhanced search, creating password strength reports, and […]

  40. Lifehacker Faceoff: The Best Password Managers, Compared | Lifehacker Australia Says:

    […] alter how KeePass works. This includes adding syncing through service like Google Drive or Dropbox, adding enhanced search, creating password strength reports and many […]

  41. iamkarlson Says:

    Hi Profon, I’m going to move your plugin to github and try continuing development of this plugin. Please let me know if you have any objections.

Leave a comment