Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use OS X KeyChain for Passphrase #5156

Open
keithy opened this issue Apr 22, 2020 · 0 comments
Open

Document how to use OS X KeyChain for Passphrase #5156

keithy opened this issue Apr 22, 2020 · 0 comments

Comments

@keithy
Copy link

keithy commented Apr 22, 2020

Just a suggestion

The following explains https://www.netmeister.org/blog/keychain-passwords.html

security add-generic-password -a ${USER} -s borgbackup-repo -w PassPhraseYouWillNeverGuess

in .bashrc (or similar)

export="BORG_PASSCOMMAND="security find-generic-password -a ${USER} -s borgbackup-repo -w"

To use this you likely need the -E option for sudo

alias borg-list='sudo -E borg list /Volumes/Repo/repo'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants