MCPcopy
hub / github.com/moonD4rk/HackBrowserData / KeychainPasswordRetriever

Struct KeychainPasswordRetriever

masterkey/retriever_darwin.go:80–86  ·  view source on GitHub ↗

KeychainPasswordRetriever unlocks login.keychain-db with the macOS login password (no root). Records are cached once and reused across browsers.

Source from the content-addressed store, hash-verified

78// KeychainPasswordRetriever unlocks login.keychain-db with the macOS login password (no root).
79// Records are cached once and reused across browsers.
80type KeychainPasswordRetriever struct {
81 Password string
82
83 once sync.Once
84 records []keychainbreaker.GenericPassword
85 err error
86}
87
88func (r *KeychainPasswordRetriever) RetrieveKey(hints Hints) ([]byte, error) {
89 if r.Password == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected