• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

markitosgv / JWTRefreshTokenBundle / 41060829104
100%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2026 01:09PM UTC
Jobs 1
Files 69
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Oct 2026 01:06PM UTC coverage: 99.945%. Remained the same
41060829104

push

github

shakaran
fix: key spent refresh tokens on the value the client sent

Closes #433.

With hash_tokens on, the model read back from storage carries the hash, so the
spend was recorded under sha256(hash) while every replay is looked up by
sha256(raw). The two keys never met: replaying a spent token was refused as an
unknown one, the chain stayed alive, and nothing said so.

remember() now takes the presented token alongside the model. The listener has
that value in hand, just before it clears it. Without hashing the two are the
same string, so nothing changes there.

Regression tests at the three levels the bug crossed: the registry keys on the
presented value and not on the stored one, the listener passes the raw token
when the model holds a hash, and a functional test wires hashing, the registry
and the detector over the ORM backend to replay the issue's own sequence. That
last one fails on the old keying and the matching non-hashed case passes, so it
is the seam that is covered and not reuse detection in general.

5 of 5 new or added lines in 2 files covered. (100.0%)

1821 of 1822 relevant lines covered (99.95%)

26.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41060829104.1 30 Oct 2026 01:09PM UTC 69
99.95
GitHub Action Run
Source Files on build 41060829104
  • Tree
  • List 69
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41060829104
  • a9367b36 on github
  • Prev Build on master (#31020409298)
  • Next Build on master (#41061436333)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc