You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing our own searching of entry names requires having fast access to the full list of entries stored in a particular database. How?
Option 1: run "keepassxc-cli ls" every time, parse the output, run regex on it
Option 2: run "keepassxc-cli ls" periodically, maintain the entry list in memory and search through that instead
The Plan:
Implement and test option 1 for speed and responsiveness
IF option 1 proves to be too slow, implement option 2
Option 2 implementation:
Run "ls" when database is unlocked
Run "ls" whenever database file changes - launch a separate monitor thread when extension starts up and use pyinotify to watch the database file for changes
Compile a regex based on query, then call .search on it: "gith wor" -> r"gith.*?wor"
The text was updated successfully, but these errors were encountered:
Doing our own searching of entry names requires having fast access to the full list of entries stored in a particular database. How?
The Plan:
Option 2 implementation:
The text was updated successfully, but these errors were encountered: