Files
grafana/pkg/registry/apis/secret/encryption/cipher/provider/errors.go
T
Matheus Macabu c90e2e8e5e SecretsManager: Add (en/de)cryption packages (#104923)
Merging the code as-is from the feature branch: secret-service/feature-branch

Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com>
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2025-05-05 15:26:52 +02:00

8 lines
269 B
Go

package provider
import "errors"
// ErrPayloadTooShort is returned when the payload is too short to be decrypted.
// In some situations, the error may instead be io.ErrUnexpectedEOF or a cipher-specific error.
var ErrPayloadTooShort = errors.New("payload too short")