Skip to content

Integration tests: Say their passwords are public and for the local stack only - #240

Merged
QuintinWillison merged 1 commit into
mainfrom
integration-test-passwords-stay-on-local-stack
Dec 2, 2026
Merged

QuintinWillison merged 1 commit into
mainfrom
integration-test-passwords-stay-on-local-stack

Conversation

@QuintinWillison

Copy link
Copy Markdown
Member

🤖 Claude's Summary

#237 took the published password out of the walkthroughs, where a reader following them created a real account with it. The integration tests keep theirs, integration-password in Go and example-password in scripts/integration-test.sh. They are safe only while they reach nothing but the local stack, and now say so where they are defined.

  • testkit.Password says it is public, so it must never reach a project other than the local stack.
  • The asproject admin tests spelled the same value out five times, and now use testkit.Password, so that comment covers their users too.
  • sign_up in scripts/integration-test.sh says the same of every password the script signs a user up with.

… project other than the local stack, and create the admin tests' users with the shared one.

Co-Authored-By: Claude <noreply@anthropic.com>
@QuintinWillison QuintinWillison self-assigned this Nov 27, 2026
@QuintinWillison
QuintinWillison marked this pull request as ready for review November 27, 2026 17:32
@QuintinWillison QuintinWillison added the SR A response to a security review. Improves any facet of this codebase in terms of security stance. label Nov 30, 2026
@QuintinWillison
QuintinWillison removed this pull request from stack #242 December 2, 2026 11:02
@QuintinWillison
QuintinWillison merged commit e38ceb8 into main Dec 2, 2026
12 checks passed
@QuintinWillison
QuintinWillison deleted the integration-test-passwords-stay-on-local-stack branch December 2, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SR A response to a security review. Improves any facet of this codebase in terms of security stance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant