diff options
| author | 2026-09-18 15:14:46 +0200 | |
|---|---|---|
| committer | 2026-09-18 15:14:46 +0200 | |
| commit | 179ae2d78e39970ae55955f1a7a56a6b9671eb3d (patch) | |
| tree | fbf324bff764479c681e39c458940abbedc1173f /openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment | |
| parent | 4937d0d6f29895b514dcf8cd20c73a1aec446144 (diff) | |
| download | desktop-flake-179ae2d78e39970ae55955f1a7a56a6b9671eb3d.tar.gz desktop-flake-179ae2d78e39970ae55955f1a7a56a6b9671eb3d.tar.bz2 desktop-flake-179ae2d78e39970ae55955f1a7a56a6b9671eb3d.zip | |
Propose fixing the SSH authorized-key spec drift
Planning artifacts only. The developer-environment capability's SSH
requirement never stated that an authorized key must be provisioned --
the real gap that locked out the floep host after its first rebuild.
The code fix already shipped; this change brings the spec in line
with it. design.md skipped (none of its trigger conditions apply to a
documentation-only correction).
Diffstat (limited to 'openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment')
| -rw-r--r-- | openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md b/openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md new file mode 100644 index 0000000..af26016 --- /dev/null +++ b/openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | ## MODIFIED Requirements | ||
| 2 | |||
| 3 | ### Requirement: SSH access is enabled by default on NixOS hosts | ||
| 4 | Every NixOS host built from this flake's shared system module SHALL have an SSH server enabled, with password authentication and root login disabled, and SHALL permit inbound SSH traffic through its firewall. The system SHALL also provision at least one authorized public key for the user, so that key-based authentication is actually reachable rather than merely configured. | ||
| 5 | |||
| 6 | #### Scenario: SSH reachable with key-based auth only | ||
| 7 | - **WHEN** a NixOS host is built from the shared system module | ||
| 8 | - **THEN** the SSH service is enabled, password authentication and root login are disabled, and the firewall permits inbound connections on the SSH port | ||
| 9 | |||
| 10 | #### Scenario: An authorized key is provisioned | ||
| 11 | - **WHEN** a NixOS host is built from the shared system module | ||
| 12 | - **THEN** the user account has at least one authorized public key configured, so a matching private key can actually authenticate over SSH | ||
