crypto: cleanup ciphertext verification error

This commit is contained in:
Michael Eischer 2024-06-05 22:33:20 +02:00
parent ef85a81e83
commit b82ecc6425

View file

@ -27,7 +27,7 @@ const (
var ( var (
// ErrUnauthenticated is returned when ciphertext verification has failed. // ErrUnauthenticated is returned when ciphertext verification has failed.
ErrUnauthenticated = errors.New("ciphertext verification failed") ErrUnauthenticated = fmt.Errorf("ciphertext verification failed")
) )
// Key holds encryption and message authentication keys for a repository. It is stored // Key holds encryption and message authentication keys for a repository. It is stored