offen / docker-volume-backup

Backup Docker volumes locally or to any S3, WebDAV, Azure Blob Storage, Dropbox or SSH compatible storage
https://offen.github.io/docker-volume-backup/
Mozilla Public License 2.0
2.09k stars 85 forks source link

Feature: PGP Asymmetric Encryption #456

Closed lbsekr closed 3 months ago

lbsekr commented 3 months ago

While this project already provides symmetric pgp encryption, it lacks a way to encrypt backups asymmetric. Therefore this pull request provides that functionality.

Therefore the encryptArchive function has been changed. All changes have been tested and documented.

I have not done much programming in Golang in the last year. Suggestions for improvement are welcome.

lbsekr commented 3 months ago

Thank you for reviewing. I just hope all this is getting squashed 🙂

m90 commented 3 months ago

This looks good to me now. There's a tiny complaint by the linter still, but once that's fixed I'd say this is good to go.

m90 commented 3 months ago

This is now included in v2.42.0