Backup and restore encryption key

This commit is contained in:
Zoltan Papp
2023-10-06 15:41:29 +02:00
parent d25f543913
commit 56d82a99e1
4 changed files with 55 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ import (
func TestNewSQLiteStore(t *testing.T) {
dataDir := t.TempDir()
key, _ := GenerateKey()
key, _ := GenerateKey(dataDir)
store, err := NewSQLiteStore(dataDir, key)
if err != nil {
t.Fatal(err)