docker-volume-backup/cmd/backup
Lennart 8a64da4b0b
Feature: PGP Asymmetric Encryption (#456)
* feat: asym encryption

* tests

* docs

* refactor

* logs & errs

* comment

* Update docs/reference/index.md

use correct env var in example

Co-authored-by: Frederik Ring <frederik.ring@gmail.com>

* Update cmd/backup/encrypt_archive.go

use errwarp for initial error msg

Co-authored-by: Frederik Ring <frederik.ring@gmail.com>

* rm orphaned code in encryption functions

* inline readArmoredKeys

* naming -GPG_PUBLIC_KEYS- to GPG_PUBLIC_KEY_RING

* add eror handling for closing func

* use dynamically generated keys for testing

* rm explicit gpg-agent start

* rm unnecessary private_key export

* pass PASSPHRASE correctly to the decryption command

* capture defer errors

* log & err msg

---------

Co-authored-by: Frederik Ring <frederik.ring@gmail.com>
2024-08-11 10:11:23 +02:00
..
testdata Lines from conf files that are comments should not be passed to shell.Expand (#374) 2024-02-23 17:53:04 +01:00
archive.go Add "none" compression type (#457) 2024-08-11 10:11:09 +02:00
command.go Fix issues raised by linter 2024-04-26 17:10:06 +02:00
config_provider_test.go Lines from conf files that are comments should not be passed to shell.Expand (#374) 2024-02-23 17:53:04 +01:00
config_provider.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
config.go Feature: PGP Asymmetric Encryption (#456) 2024-08-11 10:11:23 +02:00
copy_archive.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
create_archive.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
encrypt_archive.go Feature: PGP Asymmetric Encryption (#456) 2024-08-11 10:11:23 +02:00
exec.go Bump github.com/docker/cli from 26.1.4+incompatible to 27.0.3+incompatible (#437) 2024-07-02 21:15:49 +02:00
hooks.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
lock.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
main.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
notifications.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
notifications.tmpl Added custom notification messages using text/template (#60) 2022-02-11 20:05:16 +01:00
profile.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
prune_backups.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
run_script.go Print stack trace when encountering unexpected panic (#406) 2024-04-15 15:12:10 +02:00
script.go Add "none" compression type (#457) 2024-08-11 10:11:09 +02:00
stats.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00
stop_restart_test.go Bump github.com/docker/cli from 24.0.9+incompatible to 26.1.0+incompatible (#411) 2024-04-25 17:33:07 +02:00
stop_restart.go Bump github.com/docker/cli from 24.0.9+incompatible to 26.1.0+incompatible (#411) 2024-04-25 17:33:07 +02:00
util.go Update author reference in license statements (#393) 2024-03-15 11:42:22 +01:00