MCPcopy
hub / github.com/getsops/sops / decryptPath

Method decryptPath

hcvault/keysource.go:337–339  ·  view source on GitHub ↗

decryptPath returns the path for Decrypt requests.

()

Source from the content-addressed store, hash-verified

335
336// decryptPath returns the path for Decrypt requests.
337func (key *MasterKey) decryptPath() string {
338 return path.Join(key.EnginePath, "decrypt", key.KeyName)
339}
340
341// encryptPayload returns the payload for an encrypt request of the dataKey.
342func encryptPayload(dataKey []byte) map[string]interface{} {

Callers 2

DecryptContextMethod · 0.95
TestMasterKey_EncryptFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMasterKey_EncryptFunction · 0.76