MCPcopy Create free account
hub / github.com/Mister-leo/fssh / queryMasterKey

Function queryMasterKey

internal/keychain/keychain.go:119–127  ·  view source on GitHub ↗
(svc string)

Source from the content-addressed store, hash-verified

117}
118
119func queryMasterKey(svc string) ([]kc.QueryResult, error) {
120 q := kc.NewItem()
121 q.SetSecClass(kc.SecClassGenericPassword)
122 q.SetService(svc)
123 q.SetAccount(account)
124 q.SetMatchLimit(kc.MatchLimitOne)
125 q.SetReturnData(true)
126 return kc.QueryItem(q)
127}
128
129func DeleteMasterKey() error {
130 it := kc.NewItem()

Callers 1

LoadMasterKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected