mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #409] [MERGED] enh: setup-gpg.sh: create additional backup signing config with --generate #458
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#458
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/ovh/the-bastion/pull/409
Author: @docwalter
Created: 8/9/2023
Status: ✅ Merged
Merged: 8/22/2023
Merged by: @speed47
Base:
master← Head:sign-backups📝 Commits (1)
0d726ebenh: setup-gpg.sh: create additional backup signing config with --generate📊 Changes
1 file changed (+25 additions, -0 deletions)
View changed files
📝
bin/admin/setup-gpg.sh(+25 -0)📄 Description
#243 allows for signed backups, but
setup-gpg.sh --generateonly creates signing config for session recording backups so far. With this code, setup-gpg.sh generates a config snippet for signing configuration backups, too.Since the signing key passphrase can contain arbitrary special characters, it is wrapped in single quotes and any contained single quote
'is escaped as'\''. Tested it successfully with a several generated signing key passphrases, including ones with single quotes.Signed-off-by: Philipp Walter p.walter@infoserve.de
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.