Skip to main content
Version: 7.0

Configure search

Passwork stores data in an encrypted format, making it impossible to use standard database search functions. To ensure quick searches, Passwork creates special secure indexes for each password. This process involves analyzing the password information, breaking it down into individual words, and computing a secure hash for each part of each word.

In the Search block of system settings, you can set the maximum number of substrings for search. Lower values result in a smaller database size, but the search accuracy may be reduced. After you set the number of substrings, all passwords must to be reindexed using the Reindex all passwords button

Search configuration settings

How search works

Search is performed by names, logins, URLs, and notes. When a password is created, each word is broken down into substrings. For example, from the name "Wonderful Password," several variants will be generated: w, wo, won, wond, wonde, wonder, wonderful.

When the user enters a query, it is transformed likewise and compared with existing substrings. To find the password from the example, you would need to enter w, wo, won, wond, or wonderful. By default, substrings are generated up to 5 characters, and the full word is also saved, so "wonder" would not match.

Folder search is performed by the first words separated by spaces. For example, the folder "folder name" will yield a result, while "folder-name" will not.