Do you keep your passphrase in the config file? #130

Closed
opened 2018-12-30 17:58:44 +00:00 by patricko · 3 comments

For security, do you do this? or do you do some weird stuff with gpg-agent etc?

Just a question

For security, do you do this? or do you do some weird stuff with gpg-agent etc? Just a question
witten added the
question / support
label 2018-12-30 18:56:15 +00:00
Owner

It varies by machine. I take two general approaches:

  • If I'm running borgmatic directly with cron, then I will put the encryption passphrase directly in the config file (with appropriate file permissions).
  • If I'm using one the borgmatic Docker images, then I'll pass in a BORG_PASSPHRASE environment variable rather than putting the passphrase in the config file.
It varies by machine. I take two general approaches: * If I'm running borgmatic directly with cron, then I will put the encryption passphrase directly in the config file (with appropriate file permissions). * If I'm using one the borgmatic Docker images, then I'll pass in a `BORG_PASSPHRASE` environment variable rather than putting the passphrase in the config file.
Author

Ok, so no gpg encrypted file

Ok, so no gpg encrypted file
Owner

Correct, at least not in my case.

Correct, at least not in my case.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#130
No description provided.