MCPcopy
hub / github.com/helm/helm / loadKeyRing

Function loadKeyRing

pkg/provenance/sign.go:361–368  ·  view source on GitHub ↗
(ringpath string)

Source from the content-addressed store, hash-verified

359}
360
361func loadKeyRing(ringpath string) (openpgp.EntityList, error) {
362 f, err := os.Open(ringpath)
363 if err != nil {
364 return nil, err
365 }
366 defer f.Close()
367 return openpgp.ReadKeyRing(f)
368}
369
370// DigestFile calculates a SHA256 hash (like Docker) for a given file.
371//

Callers 3

NewFromFilesFunction · 0.85
NewFromKeyringFunction · 0.85
TestLoadKeyRingFunction · 0.85

Calls 1

CloseMethod · 0.80

Tested by 1

TestLoadKeyRingFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…