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

supabase / auth / 12480890424
69%

Build:
DEFAULT BRANCH: master
Ran 24 Dec 2024 11:14AM UTC
Jobs 1
Files 133
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

24 Dec 2024 11:08AM UTC coverage: 57.387% (+0.03%) from 57.358%
12480890424

push

github

web-flow
feat: fix argon2 parsing and comparison (#1887)

Argon2 parsing and comparison is broken in multiple ways:

1. Incorrect comparison being done using `ConstantTimeCompare`. This Go
API is awful as it returns 1 on _equality_ (unlike all other comparison
APIs that return 0) so it was missed.
2. All Argon2 comparisons were producing incorrect derived keys due to
the multiplication by 1024. The `argon2.Key` and `IDKey` accept *KiB* as
arguments (not bytes!) which caused all hashes to always be incorrect.

Tests didn't catch this as they only tested for the positive case (which
passed with flying colors).

16 of 20 new or added lines in 1 file covered. (80.0%)

9742 of 16976 relevant lines covered (57.39%)

55.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
77.47
0.58% internal/crypto/password.go
Jobs
ID Job ID Ran Files Coverage
1 12480890424.1 24 Dec 2024 11:14AM UTC 133
57.39
GitHub Action Run
Source Files on build 12480890424
  • Tree
  • List 133
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9dbe6ef9 on github
  • Prev Build on master (#12466189660)
  • Next Build on master (#12480942442)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc