Harden staging SSH secret and env ownership #15
Reference in New Issue
Block a user
Delete Branch "fix/staging-ssh-secret-and-env-owner"
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?
Incident
A failed staging-only deploy exposed the multiline staging SSH key in Gitea logs and then stopped because root-run deployment validation conflicted with deploy-owned mode-0600 env files. Public staging never switched from the previous SHA; production was not involved.
Immediate containment completed
Code changes
ssh-keygen.env.stagingVerification
No production workflow, key, migration, or deployment was changed or triggered.