Skip to content

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

Closed
aseigler wants to merge 3 commits intopasswordless-lib:masterfrom
aseigler:fix-appattest-cpk
Closed

Move KeyTypeParameter validation from CredentialPublicKey.Verify() into constructors#570
aseigler wants to merge 3 commits intopasswordless-lib:masterfrom
aseigler:fix-appattest-cpk

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.
@codecov-commenter
Copy link

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

Codecov Report

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

Project coverage is 76.93%. Comparing base (ea6cd8f) to head (b3701c2).

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     #570      +/-   ##
==========================================
- Coverage   76.96%   76.93%   -0.03%     
==========================================
  Files         100      100              
  Lines        2613     2627      +14     
  Branches      441      441              
==========================================
+ Hits         2011     2021      +10     
- Misses        496      498       +2     
- Partials      106      108       +2     

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

@aseigler aseigler closed this Nov 4, 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

Development

Successfully merging this pull request may close these issues.

Apple AppAttest Attestations can fail due to incorrect comparison of credential public key with subject public key of credCert

2 participants