Repository navigation
fix(identity): stop logging credential material in ssh/web auth paths (salvage of #7370) - #7955
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 22 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Codex findings disposition (task 14084, lane code-y): the Codex code-review run on head 906b7bd FAILED on Codex usage limits before producing findings — zero inline review comments exist on this PR (verified via the pulls/7955/comments API). There are no undispositioned Codex findings; the failure is a reviewer-quota failure, not a finding. Targeted tests for the change pass on the laptop (go test -count=1 ./cmd/ssh/ ./web/ in pkgs/identity; go vet clean). |
…tity-log-redaction
Salvage of the unique remainder of closed archive PR #7370 (task 14084, issue #7297).
What this is
PR #7370's tip (b3568e9, a janitor archive of dirty worktree 10653) carries a coherent change absent from current main, verified by blob/added-line comparison (task 13628 analysis + fresh re-check 2026-11-09, lane code-y): main has not touched these files since the PR's merge-base, and no other code reads the removed
password-hash/password-hash-typesession-permission extensions.Change
pkgs/identity/cmd/ssh/ssh.go: auth log calls no longer include plaintext passwords, password hashes, keyboard-interactive responses, generated private keys, or melted private keys; the dead writes of the password hash into session permission extensions are removed.pkgs/identity/web/web.go: token/cookie log calls no longer include raw tokens, cookies, or parsed claims (algorithm / cookie name only); dead token-marshalling error path removed.pkgs/identity/cmd/ssh/ssh_logging_test.goandpkgs/identity/web/auth_logging_test.gofail if credential material is referenced from auth log calls again.Tests
go test -count=1 ./cmd/ssh/ ./web/in pkgs/identity — pass (laptop, 2026-11-09)go vet ./cmd/ssh/ ./web/— cleanCherry-pick of b3568e9 onto current main (494198a687 before message amend); closed PR #7370 is not reopened and its archive branch is not recreated.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.