Skip to content

test(session): ensure token tampering test always modifies token - #64

Merged
hmmftg merged 1 commit into
mainfrom
test/session-flaky-tampered-token
Oct 3, 2026
Merged

hmmftg merged 1 commit into
mainfrom
test/session-flaky-tampered-token

Conversation

@hmmftg

@hmmftg hmmftg commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Replace hardcoded 'X' with conditional 'X'/'Y' to guarantee the tampered token differs from the original when the character at position len(token)-5 happens to be 'X'.

Replace hardcoded 'X' with conditional 'X'/'Y' to guarantee the tampered token differs from the original when the character at position len(token)-5 happens to be 'X'.
@hmmftg
hmmftg merged commit ac263b5 into main Oct 3, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant