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

Move KeyTypeParameter validation from CredentialPublicKey.Verify() into constructors #571

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

aseigler
Copy link
Collaborator

@aseigler aseigler commented Nov 4, 2024

Add test for invalid COSE key types
Add support for OKP certificates for CredentialPublicKey and test for same
Fix two packed tests that erroneously used "Reserved" key type instead of P256

Closes #552

…to constructors

Add test for invalid COSE key types
Add support for OKP certificates for CredentialPublicKey and test for same
Fix two packed tests that erroneously used "Reserved" key type instead of P256.
…to constructors

Add test for invalid COSE key types
Add support for OKP certificates for CredentialPublicKey and test for same
Fix two packed tests that erroneously used "Reserved" key type instead of P256.
@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 75.00000% with 10 lines in your changes missing coverage. Please review.

Project coverage is 76.92%. Comparing base (ea6cd8f) to head (36eb6d2).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
Src/Fido2/Objects/CredentialPublicKey.cs 74.35% 5 Missing and 5 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #571      +/-   ##
==========================================
- Coverage   76.96%   76.92%   -0.04%     
==========================================
  Files         100      100              
  Lines        2613     2626      +13     
  Branches      441      441              
==========================================
+ Hits         2011     2020       +9     
- Misses        496      498       +2     
- Partials      106      108       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abergs
Copy link
Collaborator

abergs commented Nov 5, 2024

Seems CodeCov is mostly complaining about not covering the throw's which I think is fine.

@abergs abergs merged commit 3ab071f into passwordless-lib:master Nov 5, 2024
11 checks passed
@abergs abergs added this to the Version 4 milestone Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants