Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Driver-C/tryssh
/ clearMasterKeyForTest
Function
clearMasterKeyForTest
pkg/config/loader_test.go:492–494 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
490
}
491
492
func
clearMasterKeyForTest() {
493
utils.ClearMasterKey()
494
}
495
496
func
deriveTestKey(t *testing.T, password string) []byte {
497
t.Helper()
Callers
5
TestEncryptConfigForSave_EncryptsPassword
Function · 0.85
TestDecryptConfig_WithEncryptedData
Function · 0.85
TestDecryptConfig_WrongKey
Function · 0.85
TestDecryptConfig_NoMasterKey
Function · 0.85
TestDecryptConfig_EncryptedButNoKey
Function · 0.85
Calls
1
ClearMasterKey
Function · 0.92
Tested by
no test coverage detected