MCPcopy Create free account
hub / github.com/getsops/sops / Decrypt

Method Decrypt

hckms/keysource.go:196–198  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

194//
195// Consider using DecryptContext instead.
196func (key *MasterKey) Decrypt() ([]byte, error) {
197 return key.DecryptContext(context.Background())
198}
199
200// DecryptContext decrypts the EncryptedKey with HuaweiCloud KMS and returns the result.
201func (key *MasterKey) DecryptContext(ctx context.Context) ([]byte, error) {

Callers

nothing calls this directly

Calls 1

DecryptContextMethod · 0.95

Tested by

no test coverage detected