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

Method SetEncryptedDataKey

age/keysource.go:213–215  ·  view source on GitHub ↗

SetEncryptedDataKey sets the encrypted SOPS data key for this master key.

(enc []byte)

Source from the content-addressed store, hash-verified

211
212// SetEncryptedDataKey sets the encrypted SOPS data key for this master key.
213func (key *MasterKey) SetEncryptedDataKey(enc []byte) {
214 key.EncryptedKey = string(enc)
215}
216
217func formatError(msg string, err error, errs errSet, unusedLocations []string) error {
218 var loadSuffix string

Callers 1

EncryptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected