MCPcopy Create free account
hub / github.com/Driver-C/tryssh / deriveTestKeyBytes

Function deriveTestKeyBytes

pkg/config/loader_test.go:503–507  ·  view source on GitHub ↗
(password []byte)

Source from the content-addressed store, hash-verified

501}
502
503func deriveTestKeyBytes(password []byte) ([]byte, error) {
504 os.Setenv("TRYSSH_MASTER_KEY", string(password))
505 defer os.Unsetenv("TRYSSH_MASTER_KEY")
506 return utils.GetMasterKey()
507}

Callers 1

deriveTestKeyFunction · 0.85

Calls 1

GetMasterKeyFunction · 0.92

Tested by

no test coverage detected