diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-18 08:20:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-18 08:20:34 +0300 |
| commit | b3e0fad0b7e4ba02821df602d01c2275f82527d5 (patch) | |
| tree | 7a176b86f556162220cb7303ec0d283162e596ce /internal/config/config_test.go | |
| parent | 9cab01cc8a3ec80a9ecede8a609b7b6e0769a446 (diff) | |
feat: make keepass the default backend with master.kdbx default path
Change default backend from "geheim" to "keepass" and default KDBXPath
from ~/Documents/Keepass/master to ~/Documents/Keepass/master.kdbx.
Existing geheim users must set backend="geheim" in ~/.config/foostore.json.
Update resolveBackend fallback, struct comments, and test assertions to match.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/config/config_test.go')
| -rw-r--r-- | internal/config/config_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 7ffcc68..eac7340 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -296,8 +296,8 @@ func TestLoad_backendDefaults(t *testing.T) { cfg := Load() cases := []struct{ name, got, want string }{ - {"Backend", cfg.Backend, "geheim"}, - {"KDBXPath", cfg.KDBXPath, filepath.Join(dir, "Documents", "Keepass", "master")}, + {"Backend", cfg.Backend, "keepass"}, + {"KDBXPath", cfg.KDBXPath, filepath.Join(dir, "Documents", "Keepass", "master.kdbx")}, {"KDBXKeyFile", cfg.KDBXKeyFile, ""}, {"KDBXPassFile", cfg.KDBXPassFile, filepath.Join(dir, ".master.pass")}, } |
