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

Method Decrypt

sops.go:109–109  ·  view source on GitHub ↗

Encrypt takes a ciphertext, a key and additional data and returns the ciphertext encrypted with the key, using the additional data for authentication

(ciphertext string, key []byte, additionalData string)

Source from the content-addressed store, hash-verified

107 // Encrypt takes a ciphertext, a key and additional data and returns the ciphertext encrypted with the key, using
108 // the additional data for authentication
109 Decrypt(ciphertext string, key []byte, additionalData string) (plaintext interface{}, err error)
110}
111
112// Comment represents a comment in the sops tree for the file formats that actually support them.

Callers 15

DataWithFormatFunction · 0.95
DecryptMethod · 0.65
decryptKeyFunction · 0.65
passphrasePromptMethod · 0.65
TestMasterKey_DecryptFunction · 0.65
TestPGPFunction · 0.65
DecryptContextMethod · 0.65
DecryptTreeFunction · 0.65
TestDecryptFunction · 0.65
TestDecryptInvalidAadFunction · 0.65
TestRoundtripStringFunction · 0.65

Implementers 15

reverseCiphersops_test.go
encPrefixCiphersops_test.go
MockCiphersops_test.go
Treesops.go
MasterKeyhckms/keysource.go
MasterKeypgp/keysource.go
MasterKeygcpkms/keysource.go
mockKeyManagementServergcpkms/mock_kms_server_test.go
MasterKeykms/keysource.go
Serverkeyservice/server.go
keyServiceClientkeyservice/keyservice_grpc.pb.go
UnimplementedKeyServiceServerkeyservice/keyservice_grpc.pb.go

Calls

no outgoing calls

Tested by 13

TestMasterKey_DecryptFunction · 0.52
TestPGPFunction · 0.52
TestDecryptFunction · 0.52
TestDecryptInvalidAadFunction · 0.52
TestRoundtripStringFunction · 0.52
TestRoundtripFloatFunction · 0.52
TestRoundtripIntFunction · 0.52
TestRoundtripBoolFunction · 0.52
TestRoundtripTimeFunction · 0.52
TestDecryptEmptyValueFunction · 0.52
TestMasterKey_DecryptFunction · 0.52