Title: A revoked SSH key is never removed from root's authorized_keys · Issue #354 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: A revoked SSH key is never removed from root's authorized_keys · Issue #354 · cloudfall-dev/cloudfall
X Title: A revoked SSH key is never removed from root's authorized_keys · Issue #354 · cloudfall-dev/cloudfall
Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Problem The SshPublicKey schema has lifecycle: revoked. engine/ansible/roles/cloudfall_access/tasks/main.yml selects the active keys and adds each with lineinfile; nothing removes a...
Open Graph Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Problem The SshPublicKey schema has lifecycle: revoked. engine/ansible/roles/cloudfall_access/tasks/main.yml selects the active keys and adds...
X Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Problem The SshPublicKey schema has lifecycle: revoked. engine/ansible/roles/cloudfall_access/tasks/main.yml selects the active keys and adds...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/354
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A revoked SSH key is never removed from root's authorized_keys","articleBody":"Found in a whole-project review at 03e2faa (0.8.0rc45).\n\n## Problem\n\nThe `SshPublicKey` schema has `lifecycle: revoked`. `engine/ansible/roles/cloudfall_access/tasks/main.yml` selects the `active` keys and adds each with `lineinfile`; nothing removes a key. A key marked revoked, or deleted from the project, stays in root's `authorized_keys` after every baseline run, and the run reports success.\n\n## Proposal\n\n- Remove declared keys whose lifecycle is `revoked` (`lineinfile` with `state: absent`)\n- Decide whether `authorized_keys` is exclusive to declared keys; if so, write the whole file from the active set, after the existing \"at least one active key\" assert\n- Audit: report a key on the host that is revoked or undeclared as non-compliant\n- A converge test: a key that goes from active to revoked is gone after the run\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-15T16:02:26Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/354"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f52e6e16-d28e-543f-1284-1eb8de453bd6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A472:31E3E4:27532A9:33ABB16:6B0559B4 |
| html-safe-nonce | 8bc7bd04bef930abcfa0b400e71a9f3bed330ecd5802d51390d9d5bd8716542a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDcyOjMxRTNFNDoyNzUzMkE5OjMzQUJCMTY6NkIwNTU5QjQiLCJ2aXNpdG9yX2lkIjoiNjQxNjUzNjAxMDc3OTYxMzYyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ffd3a83eb5d8aa53690c9043079f3d55504911fadd1a3c148e9b57dcc119e4e1 |
| hovercard-subject-tag | issue:6406205014 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/354/issue_layout |
| twitter:image | https://opengraph.githubassets.com/95334c36ac47ca893bc1e032a3ef71aa3f96db3ba71c13d27e703f8ce1279500/cloudfall-dev/cloudfall/issues/354 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/95334c36ac47ca893bc1e032a3ef71aa3f96db3ba71c13d27e703f8ce1279500/cloudfall-dev/cloudfall/issues/354 |
| og:image:alt | Found in a whole-project review at 03e2faa (0.8.0rc45). Problem The SshPublicKey schema has lifecycle: revoked. engine/ansible/roles/cloudfall_access/tasks/main.yml selects the active keys and adds... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width