Repository navigation
docs(adr): ADR-0062, a conformance suite driven by the stock OpenSSH client - #289
Conversation
…client Phase 3 lists conformance tests against the OpenSSH client, and #248 gives the work an ADR that extends ADR-0020. This is it, as Proposed. The interop gate makes 15 checks, each added by the ADR of a feature. No rule says which behaviours get one, and nothing lists what is not checked. The ADR decides how the gate grows into the suite: - a behaviour belongs when a document states it and a stock client tool reaches it, refusals included; - one case per behaviour, citing its document, and the document gets its sentence first when none states the behaviour; - a catalogue file that the run enforces, so a dropped case fails; - a refusal case asserts the refusal, and a case about which side acted reads it from the audit log; - the same bash script, on the pinned client, with nothing added to the gate image, on every PR and on every release artifact. A probe of 22 behaviours with OpenSSH 10.6p2 backs it. Nineteen behaved as documented. Three are stated in no document, or not in full: the server refuses ssh-keyscan, which negotiates no strict-kex; the size of the authentication budget; and which failure a forwarding channel gets while a session is open. The re-key after 1 GiB turned out to be started by the client under ChaCha20, and by the server only under AES-GCM. Nothing is implemented here. Refs #248 Signed-off-by: Gonzalo Fleming <[email protected]>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
PR Review: docs(adr): ADR-0062, a conformance suite driven by the stock OpenSSH client (#289)Decision: 🟡 Minor changes Executive summaryADR-0062 extends the OpenSSH interop gate into a full conformance suite: a catalogue-enforced bash script with one case per documented server behaviour. The structure is sound, all 18 linked ADRs and 3 RFCs exist, planned work is correctly marked as such, and no MANIFIESTO commitment is weakened. Two consistency issues need attention so the implementing PR can safely translate the probe table into test cases. New findings🟡 Important (should be resolved)[docs/adr/0062…:76] — scope inconsistency (confidence: 90)
[docs/adr/0062…:99–105 and :168–169] — ADR-0015 errata path not taken (confidence: 80)
|
…atum Two corrections from review. - The row on password authentication cited `README.md`, which §1 does not list as a document a case may rest on. Threat model §5.3.1 states the behaviour, with RFC-0011. The row cites them. - The ADR said ADR-0023 does not say which failure a forwarding channel gets while a session is open. It does: a non-`session` type gets "unknown channel type". The server checks for an open channel first and answers "administratively prohibited", and has since M5 (#84), which merged before ADR-0023 was accepted. That is a text that was wrong at acceptance, so §2 and §9 now send it to an erratum under ADR-0015 instead of to a sentence in another document. Refs #248 Signed-off-by: Gonzalo Fleming <[email protected]>
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
ADR-0062, as Proposed. It decides how the OpenSSH interop gate (ADR-0020) grows into the conformance suite that Phase 3 lists. Nothing is implemented here.
The problem
The gate makes 15 checks. Each was added by the ADR of a feature.
negative_no_hybrid, passes for any failure, including a server that is down.What the ADR decides
What a probe showed
22 behaviours outside the gate, tried by hand on 2026-11-20 with OpenSSH 10.6p2 on macOS arm64 against
mainat04503b0. That client is not the pinned one. The table is in the ADR.Nineteen behaved as their documents say. Three did not match a document:
ssh-keyscancannot read the host key. It negotiates no strict-kex, so the server disconnects it with code 3,no-strict-kex. That follows from the fail-closed rule, and no document says it.sessiontype "unknown channel type". The code has done so since M5 (feat(core): M5 — channel layer + single-command exec #84), before ADR-0023 was accepted. Both answers refuse the channel.And one case would have tested the wrong side: under ChaCha20 the re-key after 1 GiB is started by the client, whose own limit is also 1 GiB. The server starts it only under AES-GCM.
What a reviewer may want to question
What it does not decide
Nothing in the server changes.
ssh-keyscanstays refused. The implementing PR puts the three behaviours right in documents first: two sentences, and an erratum to ADR-0023.Checks
Documentation only: one new file. Every ADR it links exists.
Refs #248