Borgmatic ask for password 3 - 5 times every time I launc it #831
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#831
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
I'm triying to run cron with the next line:
@hourly ~/.local/pipx/venvs/borgmatic/bin/borgmatic --config ~/.config/borgmatic/config.yaml --verbosity 2
Steps to reproduce
Actual behavior
Borgmatic reads the config file, but skips encryption_passphrase,
Expected behavior
Borgmatic should not ask for any password
Other notes / implementation ideas
No response
borgmatic version
1.8.8
borgmatic installation method
pipx
Borg version
borg 1.2.7
Python version
No response
Database version (if applicable)
Python 3.10.12
Operating system and version
PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
The
Enter passphrase for key '/home/prueba/.ssh/id_ed25519':
prompts are actually coming from SSH, not Borg! My guess is that that SSH key was created with a passphrase, and therefore it needs to entered before use. But you might be able to use a keychain-style program to ask for your password once and then feed it to SSH automatically every time it's needed. Alternatively, you could use an SSH key that doesn't have a passphrase on it.Hope that helps!
Thank you, it works!
Glad to hear it!