chore: refresh encrypted SSH known-hosts source - #66
Merged
Conversation
Contributor
OpenTofu TestOpenTofu test passed. View run output |
Contributor
OpenTofu PlanOpenTofu plan passed. View run outputOpenTofu will perform the following actions:
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
id = "hero-host-config:HERO_HOST_CONFIG_SSH_KNOWN_HOSTS"
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
id = "tfroot-libvirt:SSH_KNOWN_HOSTS"
~ plaintext_value = (sensitive value)
# (8 unchanged attributes hidden)
}
Plan: 0 to add, 2 to change, 0 to destroy.
OpenTofu will perform the following actions:
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
id = "hero-host-config:HERO_HOST_CONFIG_SSH_KNOWN_HOSTS"
~ plaintext_value = (sensitive value)
# (7 unchanged attributes hidden)
}
[REDACTED: potentially sensitive plan output]
[REDACTED: potentially sensitive plan output]
id = "tfroot-libvirt:SSH_KNOWN_HOSTS"
~ plaintext_value = (sensitive value)
# (8 unchanged attributes hidden)
}
Plan: 0 to add, 2 to change, 0 to destroy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Owner-authorized replacement of the canonical SOPS-encrypted
ssh_known_hostssource. The encrypted change is confined tosecrets/secrets.yaml; the existing non-secret mapping and recipient list are unchanged.Owner attestation for this encrypted-only update: the intended operation is replacement of
ssh_known_hosts. Commit metadata records three encrypted-file additions and three deletions; ciphertext and plaintext were neither retrieved nor reviewed.Fixes # N/A
Type of change
Validation
opentofu / testandopentofu / plan; PR CI is the validation authority.Intended plan review: confirm exactly two Actions-secret updates, with no additions, deletions, recipient drift, repository-policy changes, or other infrastructure changes. Never include ciphertext, plaintext, or sensitive plan output in review material.
After merge and the separately environment-gated
mainapply, rerun the existing check-onlyhero-host-configworkflow with strict SSH host-key verification. A successful SSH verification is the functional validation; cleanup of the localtfroot-libvirtsource must not precede it.Impact and rollout
Producer:
tfroot-githubremains the canonical encrypted source and GitHub Actions-secret distributor forssh_known_hosts.Consumers: the existing mapping updates two recipients atomically after the gated apply:
SSH_KNOWN_HOSTSintfroot-libvirtHERO_HOST_CONFIG_SSH_KNOWN_HOSTSinhero-host-configUnchanged: mappings, repository recipients, provider pins, workflows, Cloudflare configuration, SSH private-key source, host configuration, and GitOps desired state.
Delivery stages: authoring and branch publication are complete. PR checks are automatic and pending. Merge and the
mainapply are separate confirmation gates. Functional Hero SSH verification is a later check-only workflow stage. Thetfroot-libvirtcleanup is a separate reviewed change only after source apply and functional verification succeed.Rollback: before apply, close or revert this PR. After apply, the owner restores the prior encrypted source through a new PR and environment-gated apply; no Actions-secret value is read back. SSH identity rotation is a separate operation.
Safety and secrets
AI-assisted change: the owner authored and pushed the encrypted SOPS update. An OpenCode agent created this PR body from non-secret repository metadata and did not retrieve, decrypt, print, or summarize encrypted secret content.