Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nirui/sshwifty
/ privateKey
Method
privateKey
application/controller/socket.go:280–286 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
278
}
279
280
func
(s socket) privateKey() string {
281
if
len(s.commonCfg.SharedKey) > 0 {
282
return
s.commonCfg.SharedKey
283
}
284
285
return
s.randomKey
286
}
287
288
func
(s socket) buildCipherKey() [16]byte {
289
key := [16]byte{}
Callers
1
buildCipherKey
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected