restic/changelog/unreleased/pull-3429

13 lines
627 B
Text
Raw Normal View History

Enhancement: Verify that new or modified keys are stored correctly
2021-08-16 15:42:16 +00:00
When adding a new key or changing the password of a key, restic used to just
create the new key (and remove the old one, when changing the password). There
was no verification that the new key was stored correctly and works properly.
As the repository cannot be decrypted without a valid key file, this could in
rare cases cause the repository to become inaccessible.
2021-08-16 15:42:16 +00:00
Restic now checks that new key files actually work before continuing. This
2021-08-16 15:42:16 +00:00
can protect against some (rare) cases of hardware or storage problems.
https://github.com/restic/restic/pull/3429