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

supabase / auth / 44764536102
72%
master: 72%

Build:
Build:
LAST BUILD BRANCH: stojan/remove-inmemory-bcrypt-rehash
DEFAULT BRANCH: master
Ran 20 Nov 2026 03:38PM UTC
Jobs 1
Files 210
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

20 Nov 2026 03:33PM UTC coverage: 72.475% (+0.02%) from 72.456%
44764536102

Pull #2946

github

hf
fix(models): remove in-memory bcrypt rehash from User.Authenticate

Authenticate replaced u.EncryptedPassword with a fresh default-cost hash of
the submitted password whenever the stored bcrypt cost was above the default
or at the minimum. The sign-in handler never saves that value (the only
write is the DB-encryption re-encryption path, which regenerates the hash
itself), so the rehash had no durable effect. It also ran regardless of
whether the password matched, leaving the in-memory user holding a hash of a
possibly wrong password.

Remove the rehash and keep the parse-error behaviour for malformed stored
hashes. Update TestAuthenticate to assert that the stored hash is left
untouched for both correct and incorrect passwords.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pull Request #2946: fix(models): remove in-memory bcrypt rehash from User.Authenticate

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

3 existing lines in 1 file now uncovered.

17215 of 23753 relevant lines covered (72.48%)

511.12 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
58.74
0.9% internal/api/oauthserver/handlers.go
Jobs
ID Job ID Ran Files Coverage
1 44764536102.1 20 Nov 2026 03:38PM UTC 210
72.48
GitHub Action Run
Source Files on build 44764536102
  • Tree
  • List 210
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2946
  • PR Base - master (#44124525090)
  • 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