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

Method Decrypt

gcpkms/keysource.go:222–224  ·  view source on GitHub ↗

Decrypt decrypts the EncryptedKey field with GCP KMS and returns the result. Consider using DecryptContext instead.

()

Source from the content-addressed store, hash-verified

220//
221// Consider using DecryptContext instead.
222func (key *MasterKey) Decrypt() ([]byte, error) {
223 return key.DecryptContext(context.Background())
224}
225
226// DecryptContext decrypts the EncryptedKey field with GCP KMS and returns
227// the result.

Callers 1

TestMasterKey_DecryptFunction · 0.95

Calls 1

DecryptContextMethod · 0.95

Tested by 1

TestMasterKey_DecryptFunction · 0.76