Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: validate NUC tokens #9

Merged
merged 1 commit into from
Mar 13, 2025
Merged

feat: validate NUC tokens #9

merged 1 commit into from
Mar 13, 2025

Conversation

mfontanini
Copy link
Member

This add a validator class to validate NUC tokens. This is mostly a port of the rust one, including the same set of tests used over there.

@mfontanini mfontanini marked this pull request as ready for review March 12, 2025 20:32
@coveralls
Copy link

coveralls commented Mar 12, 2025

Pull Request Test Coverage Report for Build 13823187054

Details

  • 224 of 230 (97.39%) changed or added relevant lines in 4 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+1.0%) to 94.894%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/nuc/validate.py 190 196 96.94%
Files with Coverage Reduction New Missed Lines %
src/nuc/authority.py 3 85.19%
Totals Coverage Status
Change from base Build 13813228938: 1.0%
Covered Lines: 669
Relevant Lines: 705

💛 - Coveralls

@mfontanini mfontanini merged commit 6656ce9 into main Mar 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants