1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-25 09:18:55 +00:00

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 ( 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