forked from restic/restic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c898f7a
commit 1fab589
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Enhancement: Verify that new or modified keys were stored correctly | ||
|
||
When adding a new key or changing the password of a key, restic just created the | ||
new key (and removed the old one, when changing the password). There was no | ||
verification that the new key was stored correctly and that it work. As the | ||
repository cannot be decrypted without a valid key file, this could in rare | ||
cases cause the repository to become inaccessible. | ||
|
||
We have added a check that the new key actually works before continuing. This | ||
can protect against some (rare) cases of hardware or storage problems. | ||
|
||
https://github.com/restic/restic/pull/3429 |