Merge pull request #4852 from MichaelEischer/master

crypto: cleanup ciphertext verification error
This commit is contained in:
Michael Eischer 2024-06-07 19:06:08 +02:00 committed by GitHub
commit 112de8526d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ const (
var (
// 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