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

markitosgv / JWTRefreshTokenBundle / 41195106896
100%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2026 11:02AM 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

31 Oct 2026 09:39AM UTC coverage: 99.945%. Remained the same
41195106896

push

github

shakaran
fix: refuse a stored hash offered as the refresh token

With hash_tokens on, the value in the table was accepted as the token. The
lookup of the hash of what was presented cannot match (that would be the hash
of a hash), but the fallback that keeps tokens issued before hashing was turned
on working looks the presented value up as it is, and the stored value matches
the row holding it. save() then sees the prefix and leaves the row alone, so the
same value kept working.

Reading the table is the one thing hashing is there to survive, so this undid
the feature: a backup, a replica or an injected SELECT yielded working refresh
tokens for every user, and each replacement was as good as the one before.

A value in the stored format is now turned away before that fallback runs. No
client is ever given one, so presenting one is only ever somebody who has read
the rows. The prefix becomes reserved: a generator producing values that start
with it would have them stored in the clear and then refused, which the README
now says.

Affects 2.2.0 to 2.2.2 and 3.0.0 with hash_tokens enabled. Reported privately
by Rathnadeepan (HotWater), with a harness this reproduces.

2 of 2 new or added lines in 1 file covered. (100.0%)

1823 of 1824 relevant lines covered (99.95%)

26.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41195106896.1 31 Oct 2026 11:02AM UTC 69
99.95
GitHub Action Run
Source Files on build 41195106896
  • Tree
  • List 69
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41195106896
  • c2c69602 on github
  • Prev Build on master (#41076924991)
  • Next Build on master (#41347488069)
  • 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