forked from restic/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
greatroar
committed
Oct 5, 2020
1 parent
a23d90d
commit 05bb24b
Showing
2 changed files
with
21 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 generate, restic help and restic 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 | ||
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