GODT-1975: Migrate keychain secrets

This commit is contained in:
James Houlahan
2022-11-21 01:38:51 +01:00
parent 7ed8d76d84
commit 48dfdabaf4
10 changed files with 742 additions and 10 deletions

View File

@ -30,7 +30,7 @@ import (
"github.com/stretchr/testify/require"
)
func TestMigrateOldVaultFromJSON(t *testing.T) {
func TestMigratePrefsToVault(t *testing.T) {
// Create a new vault.
vault, corrupt, err := vault.New(t.TempDir(), t.TempDir(), []byte("my secret key"))
require.NoError(t, err)