MCPcopy Index your code
hub / github.com/getsops/sops / encryptPath

Method encryptPath

hcvault/keysource.go:332–334  ·  view source on GitHub ↗

encryptPath returns the path for Encrypt requests.

()

Source from the content-addressed store, hash-verified

330
331// encryptPath returns the path for Encrypt requests.
332func (key *MasterKey) encryptPath() string {
333 return path.Join(key.EnginePath, "encrypt", key.KeyName)
334}
335
336// decryptPath returns the path for Decrypt requests.
337func (key *MasterKey) decryptPath() string {

Callers 2

EncryptContextMethod · 0.95
TestMasterKey_DecryptFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMasterKey_DecryptFunction · 0.76