mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[PR #47] Added password encryption for ZIP files #149
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pgbackweb#149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/eduardolat/pgbackweb/pull/47
Author: @mdrozdovz
Created: 9/17/2024
Status: 🔄 Open
Base:
main← Head:main📝 Commits (5)
52388e0Added support for password-protected ZIP filesd32d534Updated .env filese2c1fb5Revert "Added support for password-protected ZIP files"26b2816Reapply "Added support for password-protected ZIP files"4200bcbReverted accidental LICENSE changes📊 Changes
11 files changed (+45 additions, -6 deletions)
View changed files
📝
.env.dev(+4 -0)📝
.env.example(+4 -0)📝
README.md(+3 -0)📝
docker/Dockerfile(+1 -1)📝
docker/Dockerfile.cicd(+1 -1)📝
docker/Dockerfile.dev(+1 -1)📝
docker/compose.dev.yaml(+4 -0)📝
go.mod(+1 -0)📝
go.sum(+2 -0)📝
internal/config/env.go(+5 -0)📝
internal/integration/postgres/postgres.go(+19 -3)📄 Description
Added password encryption for ZIP files used both in local and remote (S3/Minio) destinations.
Working with remote destinations it's often the case the bucket is shared across different teams/projects or permissions are not fine-grained. So, in order to prevent data leaks, and as best practice when uploading data to third party services encrypting files is a way to go.
This PR adds support for encrypting dump and decrypting upon restoration - by replacing
unziputility withp7zip.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.