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/faster-cert-chain-validation #311

Merged
merged 15 commits into from
Dec 18, 2022
Merged

Conversation

MasterKale
Copy link
Owner

@MasterKale MasterKale commented Dec 15, 2022

I accidentally discovered a fix for a performance bottleneck in certificate chain validation thanks to work done in #299. This should address #309. Based on some light testing via FIDO Conformance Tests, execution times seem to have gone down by around 10%. In one circumstance (unit tests) they decreased by as much as 60%.

Screenshots

Performance of groups of FIDO Metadata Conformance tests that took long enough to execute to get a "execution time flag" generally went down:

"tpm" - before

Screenshot 2022-12-18 at 7 43 59 AM

"tpm" - after

Screenshot 2022-12-18 at 7 45 50 AM

"android-safetynet" - before

Screenshot 2022-12-18 at 7 43 57 AM

"android-safetynet" - after

Screenshot 2022-12-18 at 7 45 45 AM

Metadata - before

Screenshot 2022-12-18 at 7 43 51 AM

Metadata - after

Screenshot 2022-12-18 at 7 45 38 AM

@MasterKale MasterKale marked this pull request as ready for review December 18, 2022 15:41
@MasterKale MasterKale merged commit f95c921 into master Dec 18, 2022
@MasterKale MasterKale deleted the feat/faster-cert-chain-validation branch December 18, 2022 15:59
@MasterKale MasterKale added the package:server @simplewebauthn/server label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:server @simplewebauthn/server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant