MCPcopy Create free account
hub / github.com/codahale/sneaker / Pack

Method Pack

pack.go:13–50  ·  view source on GitHub ↗

Pack puts the given secrets into a TAR file and encrypts that with a new KMS data key with the context. The result is written into the given writer.

(secrets map[string][]byte, ctxt map[string]string, keyID string, w io.Writer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestPackagingRoundTripFunction · 0.95
mainFunction · 0.80

Calls 1

SealMethod · 0.80

Tested by 1

TestPackagingRoundTripFunction · 0.76