Main password encrypted in memory
This commit is contained in:
@@ -58,7 +58,10 @@ func TestStoreServer(t *testing.T) {
|
||||
|
||||
func TestLoadServersFromUids(t *testing.T) {
|
||||
createId(t)
|
||||
GetConfig().SetMemPass("test")
|
||||
err := GetConfig().SetMemPass("test")
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to set password: %v", err)
|
||||
}
|
||||
ss := ServerStorage{DbFile: "test.db"}
|
||||
k, err := meowlib.NewKeyPair()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user