home: keepassxc: Add browser integration options. * home/keepassxc.scm (keepassxc-configuration): Add fields for browser integration. * doc/keepassxc.scm: Document them.
doc/keepassxc.md
| 52 | 52 | * **word-count** (default 7): Undocumented. | |
| 53 | 53 | * **wordlist** (default "eff_large.wordlist"): Undocumented. | |
| 54 | 54 | * **word-separator** (default " "): Undocumented. | |
| 55 | + | * **browser-integration?** (default #f): Enables browser integration with the | |
| 56 | + | browser plugins, such as `keepassxc-browser`. | |
| 57 | + | * **browser-sort-by-username?** (default #f): When `#f`, sort by title, otherwise | |
| 58 | + | sort by usernames in the browser extension. | |
| 59 | + | * **browser-can-unlock?** (default #t): Whether the browser extension can ask | |
| 60 | + | for database unlock. | |
| 61 | + | * **browser-adapt-url?** (default #t): Match URL scheme (e.g. `https://...`) | |
| 62 | + | * **browser-best-match-only?** (default #f): Whether to return only best-matching | |
| 63 | + | credentials. | |
| 64 | + | * **browser-expired?** (default #f): Allow to return expired credentials to the | |
| 65 | + | browser extension. | |
| 66 | + | * **browser-search-all-databases?** (default #f): Allow the browser extension to | |
| 67 | + | access any open database. | |
| 55 | 68 | ||
| 56 | 69 | Example | |
| 57 | 70 | ------- |
home/keepassxc.scm
| 44 | 44 | keepassxc-word-count | |
| 45 | 45 | keepassxc-wordlist | |
| 46 | 46 | keepassxc-word-separator | |
| 47 | + | keepassxc-browser-integration? | |
| 48 | + | keepassxc-browser-sort-by-username? | |
| 49 | + | keepassxc-browser-can-unlock? | |
| 50 | + | keepassxc-browser-adapt-url? | |
| 51 | + | keepassxc-browser-best-match-only? | |
| 52 | + | keepassxc-browser-expired? | |
| 53 | + | keepassxc-browser-search-all-databases? | |
| 47 | 54 | ||
| 48 | 55 | keepassxc-home-type)) | |
| 49 | 56 | ||
… | |||
| 89 | 96 | (wordlist keepassxc-wordlist | |
| 90 | 97 | (default "eff_large.wordlist")) | |
| 91 | 98 | (word-separator keepassxc-word-separator | |
| 92 | - | (default " "))) | |
| 99 | + | (default " ")) | |
| 100 | + | ;; browser integration | |
| 101 | + | (browser-integration? keepassxc-browser-integration? | |
| 102 | + | (default #f)) | |
| 103 | + | (browser-sort-by-username? keepassxc-browser-sort-by-username? | |
| 104 | + | (default #f)) | |
| 105 | + | (browser-can-unlock? keepassxc-browser-can-unlock? | |
| 106 | + | (default #t)) | |
| 107 | + | (browser-adapt-url? keepassxc-browser-adapt-url? | |
| 108 | + | (default #t)) | |
| 109 | + | (browser-best-match-only? keepassxc-browser-best-match-only? | |
| 110 | + | (default #f)) | |
| 111 | + | (browser-expired? keepassxc-browser-expired? | |
| 112 | + | (default #f)) | |
| 113 | + | (browser-search-all-databases? keepassxc-browser-search-all-databases? | |
| 114 | + | (default #f))) | |
| 93 | 115 | ||
| 94 | 116 | (define keepassxc-home-type | |
| 95 | 117 | (home-type | |
… | |||
| 112 | 134 | ,(string-join | |
| 113 | 135 | (keepassxc-last-opened-databases config) | |
| 114 | 136 | ", ")))) | |
| 137 | + | ("Browser" | |
| 138 | + | (("AllowExpiredCredentials" | |
| 139 | + | ,(keepassxc-browser-expired? config)) | |
| 140 | + | ("BestMatchOnly" | |
| 141 | + | ,(keepassxc-browser-best-match-only? config)) | |
| 142 | + | ("Enabled" | |
| 143 | + | ,(keepassxc-browser-integration? config)) | |
| 144 | + | ("MatchUrlScheme" | |
| 145 | + | ,(keepassxc-browser-best-match-only? config)) | |
| 146 | + | ("SearchInAllDatabases" | |
| 147 | + | ,(keepassxc-browser-search-all-databases? config)) | |
| 148 | + | ("SortByUsernam" | |
| 149 | + | ,(keepassxc-browser-sort-by-username? config)) | |
| 150 | + | ("UnlockDatabase" | |
| 151 | + | ,(keepassxc-browser-can-unlock? config)))) | |
| 115 | 152 | ("GUI" | |
| 116 | 153 | (("HidePasswords" | |
| 117 | 154 | ,(keepassxc-hide-passwords? config)) | |