Commit 4b84f49
committed
test(session): stabilise tampered-JWT-signature test
Flipping the last base64url char of the JWT signature could canonicalise
to the original bytes; flip a middle byte instead so the decoded
signature is deterministically different.1 parent daac2ee commit 4b84f49
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
214 | 216 | | |
215 | 217 | | |
216 | | - | |
| 218 | + | |
| 219 | + | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
| |||
0 commit comments