Skip to content

Creating encrypted backups with GPG key #2

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

Open
sebastian-65 opened this issue Mar 17, 2018 · 1 comment
Open

Creating encrypted backups with GPG key #2

sebastian-65 opened this issue Mar 17, 2018 · 1 comment

Comments

@sebastian-65
Copy link

sebastian-65 commented Mar 17, 2018

Some backups should be encrypted. It would be handy if there would be a variable with GPG public key ID that script uses to encrypt the backups right away.

You might use: gpg --trust-model always --batch --yes -ea -r $PUBKEY $OUTPUT

Where pubkey might be e.g. PUBKEY=D6F3D9BB. It might be parameter as well.

@JurajMlich
Copy link
Owner

I'm afraid that that is too user-specific as some people might use different encryption algorithm. You may modify the script to satisfy your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants