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

vocdoni / saas-backend / 19764421331
63%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2025 12:57PM UTC
Jobs 1
Files 77
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

28 Nov 2025 12:54PM UTC coverage: 62.838% (+0.09%) from 62.747%
19764421331

push

github

altergui
refactor(auth): replace hashing with encryption for verification codes

Replace one-way hashing with reversible encryption for verification code
storage and validation. This change enables the system to decrypt stored
codes back to their original values for verification purposes.

Changes:
- Replace HashVerificationCode with SealToken when generating codes
- Replace hash comparison with OpenToken when validating codes
- Add error handling for encryption/decryption operations
- Update tests to validate encrypted code format and length constraints
- Apply changes across user verification, password reset, and code resend flows

This improves the verification flow by allowing bidirectional code
transformation while maintaining security through encryption with
user-specific secrets.

114 of 152 new or added lines in 5 files covered. (75.0%)

4 existing lines in 2 files now uncovered.

6708 of 10675 relevant lines covered (62.84%)

39.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
85.49
-0.82% api/helpers.go
4
91.3
migrations/0005_rename_verifications_code.go
8
87.0
-8.92% internal/utils.go
24
41.18
-0.78% api/users.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
41.18
-0.78% api/users.go
3
87.0
-8.92% internal/utils.go
Jobs
ID Job ID Ran Files Coverage
1 19764421331.1 28 Nov 2025 12:57PM UTC 77
62.84
GitHub Action Run
Source Files on build 19764421331
  • Tree
  • List 77
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c570b8c8 on github
  • Prev Build on bug/add-auth-2fa-json-unmarshalling (#19711429176)
  • Next Build on main (#19764475106)
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