Repository navigation
docs: say 'no exercised MAC path', matching what ADR-0021 actually decides - #57
Merged
Merged
Conversation
…cides 'No negotiated-MAC path' read as if the mac_algorithms name-list were empty, while ADR-0021 deliberately sends a nominal entry that is never used under the AEAD-only cipher list (its Alternative 4 rejects the empty list). The CI reviewer tripped over the mismatch twice because this line cites ADR-0021 as its own authority. One word resolves the circularity. Signed-off-by: Gonzalo Fleming <[email protected]>
Contributor
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
5 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
One-line wording fix in CLAUDE.md's hard security rules: "no negotiated-MAC path" → "no exercised MAC path", with a parenthetical stating the MAC name-list is nominal and never used under AEAD.
Motivation
ADR-0021 (PR #46) deliberately advertises a nominal
[email protected]entry — its Alternative 4 explicitly rejects an emptymac_algorithmslist as a robustness risk — while CLAUDE.md's current phrasing reads as if no MAC entry exists at all, citing ADR-0021 as its own authority. The CI reviewer flagged this circularity in PR #46's review transcripts (a non-empty MAC name-list is, at the wire level, a "negotiated-MAC path"). One word aligns the rulebook with the decision it cites.Type of change
Checklist
git commit -s).Security considerations
No behavioural change; the rule's intent (the MAC is structurally unreachable under the AEAD-only profile) is unchanged and now stated precisely.
Related issues