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

Set parameters for gpg encryption #372

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

veebkolm
Copy link
Contributor

It seems that gpg encryption does not work as per #369.
Seems that the gpg executable wasn't given any parameters at all.
So I added those. Also modified the user parameter, which needs an username (email) of the gpg key in your keychain that you intend to encrypt the backup with.

Be noted that the key should be trusted, otherwise the gpg prompts for input, letting the backup hang. Maybe all keys could be automatically trusted with some parameter, or phpbu should check that the key is trusted beforehand.

Also, gpg by default compresses the file. That could also be configured.

Copy link
Owner

@sebastianfeldmann sebastianfeldmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks :)

@sebastianfeldmann sebastianfeldmann merged commit 9f4873e into sebastianfeldmann:main Mar 22, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants