Main password encrypted in memory
This commit is contained in:
@@ -6,7 +6,10 @@ import (
|
||||
|
||||
func TestConfigSave(t *testing.T) {
|
||||
c := GetConfig()
|
||||
c.memoryPassword = "hideme"
|
||||
err := c.SetMemPass("hideme")
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to set password: %v", err)
|
||||
}
|
||||
c.IdentityFile = "test.id"
|
||||
c.Chunksize = 10000000
|
||||
c.SavePassword = true
|
||||
|
||||
Reference in New Issue
Block a user