Treat an empty password as a fatal error for repository init.

This commit is contained in:
Denny Page authored and Michael Eischer committed 2021-02-28 00:40:00 +01:00
1 parent bb53fcfc0d
commit 0f41e99ea7
3 files changed
+14 -6

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
Bugfix: Treat an empty password as a fatal error for repository init
When attempting to initialize a new repository, if an empty password was
supplied, the repository would be created but the init command would return
an error with a stack trace. Now, if an empty password is provided, it is
treated as a fatal error, and no repository is created.
https://github.com/restic/restic/issues/3214