mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #421] [MERGED] Allow setup-gpg.sh --import to receive, trust, and add to configure multiple public keys at once #469
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#469
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/421
Author: @P-EB
Created: 9/29/2023
Status: ✅ Merged
Merged: 10/27/2023
Merged by: @speed47
Base:
master← Head:feature/handle_multiple_admin_keys📝 Commits (2)
d9431b6Allow setup-gpg.sh --import to receive, trust, and add to configure multiple public keys at once6ff1990enh: add tests for multiple gpg keys setup📊 Changes
4 files changed (+118 additions, -14 deletions)
View changed files
📝
bin/admin/setup-gpg.sh(+18 -14)📝
lib/shell/functions.inc(+9 -0)📝
tests/functional/launch_tests_on_instance.sh(+62 -0)📝
tests/functional/tests.d/200-scripts.sh(+29 -0)📄 Description
Hello,
While the whole bastion logic seems to allow for multiple admin keys, the import system doesn't allow for it as it only keeps the latest added key, only trusts this one and then add it to the rsync/backup configurations (and refuses to run more than once as soon as these configurations exist).
While it's not perfect as it doesn't handle the multiple layers considered in the rsync system, this patch should give bastion users plenty more flexibility to handle admin keys addition.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.