Repository navigation
Commit f03758a
authored
Merge commit from fork
* Only validate revocation and time in chain certs
* Rearrange x5c parsing
* Tweak API of assertCertIsWithinValidTimeWindow
* Can't check revocation of potential anchors
* Only split leaf + intermediates once
* Hoist verified `chain`
* Replace last cert in chain to simplify later logic
* Tweak tests that check updated error messages
* Accept issuerCert in isCertRevoked
* Check time validity of chain certs
* Begin to check revocation status of chain certs
* Get some testing set up for isCertRevoked()
* Verify CRL signature
* Assert CRL URL is fetched
* Tweak isCertRevoked tests
* Raise SimpleWebAuthnError from cert validation
* Update verifyAttestationWithMetadata
* Only validate chain after all checks pass
* Update X.509 root cert maker to add CRL sign ext
* Fix some dates
* Check all CRL URLs, and cache by key ID + URL
* Add test for multiple CRL distribution points
* Soft-fail on AKI checks for cert and certCRL
* Add note about generating test coverage report
* Add http-server to host test coverage report
* Tweak a bit of the root README
* Tweak error messages for AKI check failures
* Simplify generateCRLDistributionPointsExtension
* Tweak some tests
* Address PR feedback1 parent 8f6e738 commit f03758a
12 files changed
Lines changed: 1065 additions & 187 deletions
File tree
- packages/server/src
- errors
- helpers
- tests
- metadata
- registration/verifications
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
116 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
117 | 135 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments