-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Release version 2.0.0 #175
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains a valid label.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains a valid label.
Codecov Report
@@ Coverage Diff @@
## master #175 +/- ##
==========================================
+ Coverage 71.30% 71.73% +0.43%
==========================================
Files 67 68 +1
Lines 3042 3361 +319
==========================================
+ Hits 2169 2411 +242
- Misses 873 950 +77
Continue to review full report at Codecov.
|
@aseigler No stress, preview package is out for consumers who need it. |
Thanks guys :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains a valid label.
Published preview2 package: https://www.nuget.org/packages/Fido2/2.0.0-preview2 @mackie1001 Could you try and verify that preview works for you? |
Bump. |
@mackie1001 How has your experience been with the 2.0 preview? |
@abergs Apologies for the lack of response. I've not had the chance to pick it up as I've been focusing on another project at work. I will try and give it a go over the weekend. |
@abergs Overall it seems fine, however I have encountered an issue when trying to register my Windows Hello enabled laptop. The exception when calling
It looks like the TPM logic has been beefed up considerably since 1.1. The error occurs on line 279 of Tpm.cs:
I've reproduced it with the following settings in the custom registration in the demo app: Attestation type: Direct The authenticator is "Windows Hello Hardware Authenticator", AAGUID: 08987058-cadc-4b81-b6e1-30de50dcbe96 Playing around a bit I managed to tweak the code in line with the sample on page 35 of this doc: https://trustedcomputinggroup.org/wp-content/uploads/Credential_Profile_EK_V2.0_R14_published.pdf
I think the mistake was thinking the I'll raise a PR ASAP but I'd appreciate some help verifying the fix using another real world TPM implenentation - e.g. OSX maybe? |
Switching the ASN.1 decoder/encoder was definitely a big piece of this update. Definitely will try to reproduce the scenario you hit as well. There is no other real world TPM implementation right now, only Windows 10. Apple doesn't TPM, the only real hope for TPM would be Linux someday if someone wants it bad enough. |
@aseigler I assumed all TPM-based implementations used |
Yes, a platform authenticator attestation request on Windows 10 can result in packed or TPM depending on several factors. |
FYI I've now tested this on Windows 10 1909 and 2004 and get the same result. |
…m the Subject Alternative Name certificate extension (#187) * Fixed SANFromAttnCertExts to correctly extract the TPM properties from the Subject Alternative Name certificate extension * Variable name typo * Add check and fix for non-conformant SAN attribute in AIK cert, write test for same. Co-authored-by: Alex Seigler <[email protected]>
* Improved error handling and logging for MDS errors along with a refactoring of how the TOC JWT alg is passed around to better serve the cached use-case * Updated test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains a valid label.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains a valid label.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request contains a valid label.
Congrats guys! |
This PR bumps the version to 2.0.0.
The reason for the major version is because the large number of changes, some that in theory could be breaking.
Preview releases are up on NuGet: https://www.nuget.org/packages/Fido2/2.0.0-preview2
Release notes:
Changes
💥 Breaking change
🚀 Features and enhancements
🐛 Bug Fixes
🧰 Maintenance & documentation