From b712f7c8a063e49329edf0db07d54a5174bfbd9b Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Fri, 18 Sep 2026 15:19:00 +0200 Subject: Archive fix-ssh-authorized-keys-spec, sync developer-environment spec Closes the spec/implementation drift: the SSH requirement now states that an authorized key must be provisioned, matching the live fix already running on floep. Archived despite design.md never being created -- deliberately skipped per its own conditional trigger rules, confirmed before proceeding. --- .../specs/developer-environment/spec.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openspec/changes/archive/2026-09-18-fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md (limited to 'openspec/changes/archive/2026-09-18-fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md') diff --git a/openspec/changes/archive/2026-09-18-fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md b/openspec/changes/archive/2026-09-18-fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md new file mode 100644 index 0000000..af26016 --- /dev/null +++ b/openspec/changes/archive/2026-09-18-fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md @@ -0,0 +1,12 @@ +## MODIFIED Requirements + +### Requirement: SSH access is enabled by default on NixOS hosts +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. + +#### Scenario: SSH reachable with key-based auth only +- **WHEN** a NixOS host is built from the shared system module +- **THEN** the SSH service is enabled, password authentication and root login are disabled, and the firewall permits inbound connections on the SSH port + +#### Scenario: An authorized key is provisioned +- **WHEN** a NixOS host is built from the shared system module +- **THEN** the user account has at least one authorized public key configured, so a matching private key can actually authenticate over SSH -- cgit v1.3