Files
restic/changelog/unreleased/pull-21977
T
2026-11-17 19:29:42 +01:00

11 lines
483 B
Plaintext

Bugfix: Don't crash on truncated key or config file
Restic previously crashed with a slice bounds panic when the repository
contained a key or 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.
This has now been fixed, and restic instead reports that the file is too short.
https://github.com/restic/restic/pull/21977