Disable "Enter passphrase for XYZ" question #9217
Replies: 3 comments 2 replies
-
|
You could just set BORG_PASSPHRASE="", then it will fail, except when the pw is really empty. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Doesn't BORG_PASSPHRASE take precedence over BORG_PASSCOMMAND and BORG_PASSPHRASE_FD? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I've solved my issue by asserting one of BORG_PASSPHRASE, BORG_PASSCOMMAND or BORG_PASSPHRASE_FD is non-blank before running Borg. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Another question: is it possible to disable the passphrase question that appears if BORG_PASSCOMMAND etc is not set? Some env variable that makes Borg simply fail if credentials are not provided?
That would be nice to have for frontends, I'm having trouble with Borg hanging if nothing is set.
Beta Was this translation helpful? Give feedback.
All reactions