mirror of
https://github.com/restic/restic.git
synced 2026-08-02 12:12:17 +00:00
10 lines
477 B
Plaintext
10 lines
477 B
Plaintext
Bugfix: Report an error instead of crashing on a truncated key or config file
|
|
|
|
Restic crashed with a slice bounds panic when a repository contained a key
|
|
file or a config file that was shorter than the encryption overhead, for
|
|
example after an upload was interrupted. Since every command has to read a
|
|
key file, the whole repository became unusable until the file was removed.
|
|
Restic now reports that the file is too short instead.
|
|
|
|
https://github.com/restic/restic/pull/21977
|