2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-20 18:09:05 +00:00
restic/changelog/0.13.0_2022-03-26/pull-3429

13 lines
627 B
Plaintext
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