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

Implement support for apple-appattest attestation format #322

Merged
merged 8 commits into from
Oct 14, 2022

Conversation

aseigler
Copy link
Collaborator

@aseigler aseigler commented Sep 6, 2022

Resolves #319

@aseigler aseigler added the feature New feature label Sep 6, 2022
@aseigler aseigler self-assigned this Sep 6, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 6, 2022

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

Codecov Report

Attention: Patch coverage is 69.38776% with 15 lines in your changes missing coverage. Please review.

Project coverage is 77.92%. Comparing base (753f48a) to head (5d78921).
Report is 92 commits behind head on master.

Files with missing lines Patch % Lines
Src/Fido2/AttestationFormat/AppleAppAttest.cs 70.83% 7 Missing and 7 partials ⚠️
Src/Fido2/AuthenticatorAttestationResponse.cs 0.00% 1 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #322      +/-   ##
==========================================
- Coverage   78.09%   77.92%   -0.18%     
==========================================
  Files          87       88       +1     
  Lines        2433     2482      +49     
  Branches      401      412      +11     
==========================================
+ Hits         1900     1934      +34     
- Misses        431      437       +6     
- Partials      102      111       +9     

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


// Verify the validity of the certificates using Apple's App Attest root certificate.
var chain = new X509Chain();
chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: NoRevocationCheck when in dev environment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the samples I have seen for both dev and prod there are no CDP extensions present, so no way to check CRL regardless.

@aseigler aseigler marked this pull request as ready for review October 10, 2022 22:57
@aseigler aseigler merged commit 8caea05 into master Oct 14, 2022
@aseigler aseigler deleted the feat-apple-appattest branch October 14, 2022 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feedback on using library for Apple App Attest
4 participants