We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b4714d + b09f60e commit f6bc6dfCopy full SHA for f6bc6df
1 file changed
sops.go
@@ -824,7 +824,7 @@ func (m *Metadata) UpdateMasterKeys(dataKey []byte) (errs []error) {
824
825
// GetDataKeyWithKeyServices retrieves the data key, asking KeyServices to decrypt it with each
826
// MasterKey in the Metadata's KeySources until one of them succeeds.
827
-func (m Metadata) GetDataKeyWithKeyServices(svcs []keyservice.KeyServiceClient, decryptionOrder []string) ([]byte, error) {
+func (m *Metadata) GetDataKeyWithKeyServices(svcs []keyservice.KeyServiceClient, decryptionOrder []string) ([]byte, error) {
828
if m.DataKey != nil {
829
return m.DataKey, nil
830
}
0 commit comments