forked from aawsome/restic
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't read password for generate, help or self-update
Fixes restic#2951.
- Loading branch information
1 parent
e432742
commit f6fb512
Showing
2 changed files
with
22 additions
and
1 deletion.
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,9 @@ | ||
Bugfix: restic generate, help and self-update no longer check passwords | ||
|
||
The commands `restic cache`, `generate`, `help` and `self-update` don't need | ||
passwords, but they previously did run the RESTIC_PASSWORD_COMMAND (if set in | ||
the environment), prompting users to authenticate for no reason. They now skip | ||
running the password command. | ||
|
||
https://github.com/restic/restic/issues/2951 | ||
https://github.com/restic/restic/pull/2987 |
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