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

Struct StaticRetriever

masterkey/static.go:5–7  ·  view source on GitHub ↗

StaticRetriever returns pre-supplied key bytes (from a Dump) instead of platform retrieval, ignoring Hints. An empty key returns (nil, nil) — the "tier not applicable" signal NewMasterKeys expects.

Source from the content-addressed store, hash-verified

3// StaticRetriever returns pre-supplied key bytes (from a Dump) instead of platform retrieval, ignoring
4// Hints. An empty key returns (nil, nil) — the "tier not applicable" signal NewMasterKeys expects.
5type StaticRetriever struct {
6 key []byte
7}
8
9// NewStaticRetriever wraps key bytes; a nil/empty key yields a retriever that reports the tier unavailable.
10func NewStaticRetriever(key []byte) *StaticRetriever {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected