-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
rust: add crate skeleton for X.509 path validation #8873
Commits on Sep 7, 2023
-
src, tests: flatten all changes
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 69eb9a1 - Browse repository at this point
Copy the full SHA 69eb9a1View commit details
Commits on Oct 2, 2023
-
Merge remote-tracking branch 'origin/main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for cb8a316 - Browse repository at this point
Copy the full SHA cb8a316View commit details
Commits on Oct 3, 2023
-
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 7e1f72a - Browse repository at this point
Copy the full SHA 7e1f72aView commit details
Commits on Oct 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ade49a1 - Browse repository at this point
Copy the full SHA ade49a1View commit details -
verify: move API to ServerVerifier.verify
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 30509a8 - Browse repository at this point
Copy the full SHA 30509a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4658f70 - Browse repository at this point
Copy the full SHA 4658f70View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 1420533 - Browse repository at this point
Copy the full SHA 1420533View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 43999ac - Browse repository at this point
Copy the full SHA 43999acView commit details -
[DEMO] declarative extension policies
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c220117 - Browse repository at this point
Copy the full SHA c220117View commit details -
more extension policy refactoring
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 25655ad - Browse repository at this point
Copy the full SHA 25655adView commit details
Commits on Oct 6, 2023
-
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 7c77155 - Browse repository at this point
Copy the full SHA 7c77155View commit details -
Configuration menu - View commit details
-
Copy full SHA for 352d9cf - Browse repository at this point
Copy the full SHA 352d9cfView commit details -
rust: support name constraints (#4)
* rust: WIP code to verify name constraints * rust: get DNS name constraints working * rust: fix DNS pattern match check * lib: clippage Signed-off-by: William Woodruff <william@trailofbits.com> * lib: fmt Signed-off-by: William Woodruff <william@trailofbits.com> * WIP to store `GeneralName` directly * lib: fmt Signed-off-by: William Woodruff <william@trailofbits.com> * lib: reuse Chain type Signed-off-by: William Woodruff <william@trailofbits.com> * extensions: drop unnecessary self lifetime bound (pyca#9650) Signed-off-by: William Woodruff <william@trailofbits.com> * validation: fix lifetimes Signed-off-by: William Woodruff <william@trailofbits.com> * certificate: increase lifetime precisions (pyca#9651) Similar to pyca#9650: adding explicit lifetimes here prevents Rust from binding `&self` to the placeholder lifetime, which it does by default. The in turn allows the return values here to outlive `&self`. Signed-off-by: William Woodruff <william@trailofbits.com> * Rename chain result to something more idiomatic * Use default annotation for name constraints * Simplify constraint subtree collection * Create separate `DNSConstraint` type * Add CA and EE name constraint checks * rust: Revert `permits_leaf` refactor * rust: Make name constraint matching slightly more correct * rust: Fix `IPAddress._packed` call * rust: Account for the case when an IP SAN doesn't represent a range * rust: Refine name constraint logic for SANs * rust: Use `matches!` macro * rust: Don't apply name constraints to self-issued certs unless its the leaf * DNSConstraint: newtype pattern Signed-off-by: William Woodruff <william@trailofbits.com> * oops Signed-off-by: William Woodruff <william@trailofbits.com> * types: refactor, test DNSConstraint Signed-off-by: William Woodruff <william@trailofbits.com> * types: another constraint test for good measure Signed-off-by: William Woodruff <william@trailofbits.com> --------- Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for b7205be - Browse repository at this point
Copy the full SHA b7205beView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for d663c07 - Browse repository at this point
Copy the full SHA d663c07View commit details
Commits on Oct 7, 2023
-
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0af2218 - Browse repository at this point
Copy the full SHA 0af2218View commit details
Commits on Oct 16, 2023
-
rust: check for malformed
AuthorityInformationAccess
extension (#5)* rust: check for malformed `AuthorityInformationAccess` extension * policy: do AIA check as an ExtensionPolicy Signed-off-by: William Woodruff <william@trailofbits.com> --------- Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 5285a9a - Browse repository at this point
Copy the full SHA 5285a9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9713022 - Browse repository at this point
Copy the full SHA 9713022View commit details
Commits on Oct 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4de63fc - Browse repository at this point
Copy the full SHA 4de63fcView commit details
Commits on Oct 19, 2023
-
validation: refactor maybe_present extn handling
More expressive. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 2adf177 - Browse repository at this point
Copy the full SHA 2adf177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f550db - Browse repository at this point
Copy the full SHA 7f550dbView commit details
Commits on Oct 22, 2023
-
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 71bd69d - Browse repository at this point
Copy the full SHA 71bd69dView commit details
Commits on Oct 24, 2023
-
tests: Add
x509-limbo
test (#1)* tests: Add `x509-limbo` test tests: Use subtests in `test_limbo` Use the correct peer name types tests: Flip the Limbo validation kind to `SERVER` * tests: Update `limbo.json` * tests: Fix Limbo tests that exercise unsupported features * test: Use new server verifier API * test: Don't allow empty peer name since the API requires it * rust: Add name constraints OID to critical extensions list * rust: Fix check for leaf certificates when applying name constraints * test: Remove assert for `extended_key_usage` Limbo data since we're populating it now * test: Update `limbo.json` * test: Skip EKU Limbo tests * test: Add comments to explain why we're skipping certain Limbo tests * rust: Leave comment explaining `is_leaf` parameter
Configuration menu - View commit details
-
Copy full SHA for 625fa41 - Browse repository at this point
Copy the full SHA 625fa41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4745642 - Browse repository at this point
Copy the full SHA 4745642View commit details -
rust: Use extension policy mechanism to check for unaccounted critica…
…l extensions (#6) * rust: Use extension policy mechanism to check for unaccounted critical extensions * validation/policy: slightly more efficient critical matching Signed-off-by: William Woodruff <william@trailofbits.com> --------- Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for ba37c80 - Browse repository at this point
Copy the full SHA ba37c80View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 21b8026 - Browse repository at this point
Copy the full SHA 21b8026View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 2232868 - Browse repository at this point
Copy the full SHA 2232868View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for d91f976 - Browse repository at this point
Copy the full SHA d91f976View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 9e04a6a - Browse repository at this point
Copy the full SHA 9e04a6aView commit details -
test_verification: move asserts
Free coverage. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0f21360 - Browse repository at this point
Copy the full SHA 0f21360View commit details
Commits on Oct 26, 2023
-
Merge remote-tracking branch 'upstream/main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 9ff4070 - Browse repository at this point
Copy the full SHA 9ff4070View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 8d9d223 - Browse repository at this point
Copy the full SHA 8d9d223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ef5ecb - Browse repository at this point
Copy the full SHA 5ef5ecbView commit details
Commits on Oct 28, 2023
-
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 9d46d04 - Browse repository at this point
Copy the full SHA 9d46d04View commit details -
fixup AKI handling, update limbo
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for f02458e - Browse repository at this point
Copy the full SHA f02458eView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 95ac2e7 - Browse repository at this point
Copy the full SHA 95ac2e7View commit details
Commits on Oct 29, 2023
-
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 5153a69 - Browse repository at this point
Copy the full SHA 5153a69View commit details
Commits on Oct 30, 2023
-
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for f54ce64 - Browse repository at this point
Copy the full SHA f54ce64View commit details -
validation/policy: clean up TODOs and NOTEs a bit
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 8a702a9 - Browse repository at this point
Copy the full SHA 8a702a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f59cbed - Browse repository at this point
Copy the full SHA f59cbedView commit details -
validation/policy: drop unreachable check
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for a356e05 - Browse repository at this point
Copy the full SHA a356e05View commit details
Commits on Oct 31, 2023
-
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 9d5a313 - Browse repository at this point
Copy the full SHA 9d5a313View commit details -
policy: check for 0 SN explicitly
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 457df90 - Browse repository at this point
Copy the full SHA 457df90View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c54bced - Browse repository at this point
Copy the full SHA c54bcedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e72f8b - Browse repository at this point
Copy the full SHA 5e72f8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91e13f - Browse repository at this point
Copy the full SHA c91e13fView commit details -
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 7b8f5a3 - Browse repository at this point
Copy the full SHA 7b8f5a3View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e8b4fbc - Browse repository at this point
Copy the full SHA e8b4fbcView commit details
Commits on Nov 2, 2023
-
validation: make subject non-optional (#7)
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 7aefd2a - Browse repository at this point
Copy the full SHA 7aefd2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 504dd59 - Browse repository at this point
Copy the full SHA 504dd59View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 34202c4 - Browse repository at this point
Copy the full SHA 34202c4View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for fb362bd - Browse repository at this point
Copy the full SHA fb362bdView commit details -
validation/policies: turn permits_san into an extension validator (#8)
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for ce4e907 - Browse repository at this point
Copy the full SHA ce4e907View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for daa512d - Browse repository at this point
Copy the full SHA daa512dView commit details -
validation: move v3 check to permits_basic
CABF asserts this for all certs, not just CA certs. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 53e6761 - Browse repository at this point
Copy the full SHA 53e6761View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0259030 - Browse repository at this point
Copy the full SHA 0259030View commit details -
validation: put EKU handling under ext handling
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for a9a380f - Browse repository at this point
Copy the full SHA a9a380fView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for a9d8dc9 - Browse repository at this point
Copy the full SHA a9d8dc9View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 199ba0d - Browse repository at this point
Copy the full SHA 199ba0dView commit details
Commits on Nov 3, 2023
-
Merge remote-tracking branch 'upstream/main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 956c1b8 - Browse repository at this point
Copy the full SHA 956c1b8View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 52977bd - Browse repository at this point
Copy the full SHA 52977bdView commit details -
validation: refactor depth checks
This should be easier to get coverage for. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for a163676 - Browse repository at this point
Copy the full SHA a163676View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for b0d8477 - Browse repository at this point
Copy the full SHA b0d8477View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for a4f4ea9 - Browse repository at this point
Copy the full SHA a4f4ea9View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 58261a2 - Browse repository at this point
Copy the full SHA 58261a2View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0282239 - Browse repository at this point
Copy the full SHA 0282239View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c086393 - Browse repository at this point
Copy the full SHA c086393View commit details -
Configuration menu - View commit details
-
Copy full SHA for 107c082 - Browse repository at this point
Copy the full SHA 107c082View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for be6d3d8 - Browse repository at this point
Copy the full SHA be6d3d8View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 36654c1 - Browse repository at this point
Copy the full SHA 36654c1View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6bed9db - Browse repository at this point
Copy the full SHA 6bed9dbView commit details
Commits on Nov 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6d3714c - Browse repository at this point
Copy the full SHA 6d3714cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5afa0a7 - Browse repository at this point
Copy the full SHA 5afa0a7View commit details
Commits on Nov 9, 2023
-
validation: Add
max_chain_depth
parameter toServerVerifier
(#9)* validation: Add `max_chain_depth` parameter to `ServerVerifier` * test: Bump `limbo.json` and support `max_chain_depth` in the harness * Bump `limbo.json` * rust: Fix bad merge * Bump `limbo.json`
Configuration menu - View commit details
-
Copy full SHA for 7546674 - Browse repository at this point
Copy the full SHA 7546674View commit details -
test_verification: add already-set test for max_chain_depth
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for af0d43b - Browse repository at this point
Copy the full SHA af0d43bView commit details -
Configuration menu - View commit details
-
Copy full SHA for acdf068 - Browse repository at this point
Copy the full SHA acdf068View commit details -
Merge remote-tracking branch 'upstream/main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e5d62a3 - Browse repository at this point
Copy the full SHA e5d62a3View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 06e1be5 - Browse repository at this point
Copy the full SHA 06e1be5View commit details -
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for fe39fb9 - Browse repository at this point
Copy the full SHA fe39fb9View commit details -
remove commented code, redundant tests
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 329eed5 - Browse repository at this point
Copy the full SHA 329eed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4017871 - Browse repository at this point
Copy the full SHA 4017871View commit details -
actions: add a fetch-limbo action
Not hooked up to anything yet. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c0ec72f - Browse repository at this point
Copy the full SHA c0ec72fView commit details -
tests: prep limbo a la wycheproof
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c270e4a - Browse repository at this point
Copy the full SHA c270e4aView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 7434373 - Browse repository at this point
Copy the full SHA 7434373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 363dee3 - Browse repository at this point
Copy the full SHA 363dee3View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for efc8f29 - Browse repository at this point
Copy the full SHA efc8f29View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 3e838c7 - Browse repository at this point
Copy the full SHA 3e838c7View commit details
Commits on Nov 10, 2023
-
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 79fe0b4 - Browse repository at this point
Copy the full SHA 79fe0b4View commit details -
tests: remove test_verify_basic
Now covered by limbo. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for f7fdeaf - Browse repository at this point
Copy the full SHA f7fdeafView commit details -
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 913f723 - Browse repository at this point
Copy the full SHA 913f723View commit details -
validation/certificate: remove dead_code attrs
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for ab7de49 - Browse repository at this point
Copy the full SHA ab7de49View commit details -
validation/extension: remove more dead_code attrs
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 421594a - Browse repository at this point
Copy the full SHA 421594aView commit details
Commits on Nov 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8fd2684 - Browse repository at this point
Copy the full SHA 8fd2684View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for ef9061f - Browse repository at this point
Copy the full SHA ef9061fView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for bf3b3cb - Browse repository at this point
Copy the full SHA bf3b3cbView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for ea88d53 - Browse repository at this point
Copy the full SHA ea88d53View commit details -
Update src/rust/cryptography-x509-validation/src/lib.rs
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7bfab59 - Browse repository at this point
Copy the full SHA 7bfab59View commit details -
validation/lib: return impl iterator
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 97c551f - Browse repository at this point
Copy the full SHA 97c551fView commit details -
Configuration menu - View commit details
-
Copy full SHA for db05265 - Browse repository at this point
Copy the full SHA db05265View commit details -
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 669bb22 - Browse repository at this point
Copy the full SHA 669bb22View commit details -
validation/ops: remove old coverage stub
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for af14ec4 - Browse repository at this point
Copy the full SHA af14ec4View commit details -
test_limbo: remove assert messages
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for eac3a07 - Browse repository at this point
Copy the full SHA eac3a07View commit details -
Merge remote-tracking branch 'upstream/main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for af29fec - Browse repository at this point
Copy the full SHA af29fecView commit details -
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 4168322 - Browse repository at this point
Copy the full SHA 4168322View commit details -
drastically simplify lifetimes
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 062a64b - Browse repository at this point
Copy the full SHA 062a64bView commit details -
test_verification: remove unused import
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for ace8142 - Browse repository at this point
Copy the full SHA ace8142View commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9793bb2 - Browse repository at this point
Copy the full SHA 9793bb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d498f67 - Browse repository at this point
Copy the full SHA d498f67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f52dd0 - Browse repository at this point
Copy the full SHA 2f52dd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c40761f - Browse repository at this point
Copy the full SHA c40761fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0c377d - Browse repository at this point
Copy the full SHA e0c377dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 269ef79 - Browse repository at this point
Copy the full SHA 269ef79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90162e4 - Browse repository at this point
Copy the full SHA 90162e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for adc7333 - Browse repository at this point
Copy the full SHA adc7333View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c5ff83 - Browse repository at this point
Copy the full SHA 0c5ff83View commit details -
validation: only check spki and signature_alg when verifying sigs
This is consistent with how other path validation libraries behave. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 2ce7a34 - Browse repository at this point
Copy the full SHA 2ce7a34View commit details
Commits on Nov 15, 2023
-
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0f6214f - Browse repository at this point
Copy the full SHA 0f6214fView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 55e82f7 - Browse repository at this point
Copy the full SHA 55e82f7View commit details -
policy/extension: allow missing AKI on CAs
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for bf12b48 - Browse repository at this point
Copy the full SHA bf12b48View commit details -
tests/limbo: skip webpki::aki::root-with-aki-ski-mismatch
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e665d3b - Browse repository at this point
Copy the full SHA e665d3bView commit details
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a14634d - Browse repository at this point
Copy the full SHA a14634dView commit details
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ba7dbf3 - Browse repository at this point
Copy the full SHA ba7dbf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d06d26 - Browse repository at this point
Copy the full SHA 8d06d26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d98eaf - Browse repository at this point
Copy the full SHA 0d98eafView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6be1f50 - Browse repository at this point
Copy the full SHA 6be1f50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76abe1f - Browse repository at this point
Copy the full SHA 76abe1fView commit details -
validation: flatten error types
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 09377a5 - Browse repository at this point
Copy the full SHA 09377a5View commit details -
validation: remove unnecessary From impls
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 1a4cf74 - Browse repository at this point
Copy the full SHA 1a4cf74View commit details -
validation: render OIDs in a few errors
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e93bc07 - Browse repository at this point
Copy the full SHA e93bc07View commit details -
Merge branch 'main' into tob-x509-cv-skeleton
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0cf2e52 - Browse repository at this point
Copy the full SHA 0cf2e52View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9642e9 - Browse repository at this point
Copy the full SHA c9642e9View commit details -
validation/policy: free coverage
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6c577be - Browse repository at this point
Copy the full SHA 6c577beView commit details
Commits on Nov 18, 2023
-
validation/policy: ok_or_else (no escaping the coverage gods)
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for a860232 - Browse repository at this point
Copy the full SHA a860232View commit details
Commits on Nov 20, 2023
-
validation/policy: remove no-op branch
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for d231e1e - Browse repository at this point
Copy the full SHA d231e1eView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 7b4c2c0 - Browse repository at this point
Copy the full SHA 7b4c2c0View commit details -
validation: add invariant-preserving Intermediates type
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 5ee09e5 - Browse repository at this point
Copy the full SHA 5ee09e5View commit details -
validation: better error message
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for bd1553f - Browse repository at this point
Copy the full SHA bd1553fView commit details -
Oops. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 89067e2 - Browse repository at this point
Copy the full SHA 89067e2View commit details -
validation: rewrite error handling
Plumb penultimate errors through the validation cycle. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for adeb62d - Browse repository at this point
Copy the full SHA adeb62dView commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 518da01 - Browse repository at this point
Copy the full SHA 518da01View commit details
Commits on Nov 21, 2023
-
test_limbo: handle IPv6 addresses correctly
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for f964ce7 - Browse repository at this point
Copy the full SHA f964ce7View commit details
Commits on Nov 22, 2023
-
test_limbo: add another feature flag
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 48af1c5 - Browse repository at this point
Copy the full SHA 48af1c5View commit details -
validation/extensions: add some NC checks
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c79f40b - Browse repository at this point
Copy the full SHA c79f40bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a29c73e - Browse repository at this point
Copy the full SHA a29c73eView commit details -
validation/extension: fix subtree check
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for bab3d2a - Browse repository at this point
Copy the full SHA bab3d2aView commit details -
validation/extension: remove pedantic check
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 8135121 - Browse repository at this point
Copy the full SHA 8135121View commit details
Commits on Nov 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b3ae108 - Browse repository at this point
Copy the full SHA b3ae108View commit details -
validation: avoid an intermediate vector
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 31d7d81 - Browse repository at this point
Copy the full SHA 31d7d81View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for d294958 - Browse repository at this point
Copy the full SHA d294958View commit details -
validation: search the store first
Effectively means that we'll prefer shorter chains. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for d1b0a33 - Browse repository at this point
Copy the full SHA d1b0a33View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6c2eafe - Browse repository at this point
Copy the full SHA 6c2eafeView commit details -
validation: rename IntermediateChain -> PartialChainState
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for f591c12 - Browse repository at this point
Copy the full SHA f591c12View commit details -
policy/extension: add a NOTE about pathLength validation
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 1adf14f - Browse repository at this point
Copy the full SHA 1adf14fView commit details -
tests/x509: restructure verification tests
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 9ce06d0 - Browse repository at this point
Copy the full SHA 9ce06d0View commit details
Commits on Nov 24, 2023
-
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 030b79f - Browse repository at this point
Copy the full SHA 030b79fView commit details -
validation: expand NC skip comment
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for b6de1f9 - Browse repository at this point
Copy the full SHA b6de1f9View commit details -
validation: fixup NC handling, expose NC errors
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6e6d7c7 - Browse repository at this point
Copy the full SHA 6e6d7c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 120daf5 - Browse repository at this point
Copy the full SHA 120daf5View commit details -
validation: remove unreachable error case
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6607e75 - Browse repository at this point
Copy the full SHA 6607e75View commit details -
validation: remove unnecessary clone
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 24ecf76 - Browse repository at this point
Copy the full SHA 24ecf76View commit details
Commits on Nov 25, 2023
-
validation: handle malformed SANs in NC checking
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 3060a70 - Browse repository at this point
Copy the full SHA 3060a70View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e1ee967 - Browse repository at this point
Copy the full SHA e1ee967View commit details
Commits on Nov 26, 2023
-
validation: remove redundant branch
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 642e72e - Browse repository at this point
Copy the full SHA 642e72eView commit details -
validation: relax SKI check on CA certs
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c6d502e - Browse repository at this point
Copy the full SHA c6d502eView commit details -
validation: document BC handling
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e26feb8 - Browse repository at this point
Copy the full SHA e26feb8View commit details -
validation: document precondition on valid_issuer
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for b1e8d2a - Browse repository at this point
Copy the full SHA b1e8d2aView commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 91c30d5 - Browse repository at this point
Copy the full SHA 91c30d5View commit details -
validation: make EKU in EEs optional
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for dcc7069 - Browse repository at this point
Copy the full SHA dcc7069View commit details
Commits on Dec 1, 2023
-
validation: make EKU handling common
This makes us handle EKU constraints in CAs, which the Web PKI stipulates. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 1ed7c2b - Browse repository at this point
Copy the full SHA 1ed7c2bView commit details -
[WIP] validation: refactor name constraints handling
Signed-off-by: William Woodruff <william@trailofbits.com> tests: debugging assistance Signed-off-by: William Woodruff <william@trailofbits.com> validation: only accumulate NC if applied Need to refactor this a bit, but it's functionally correct. Signed-off-by: William Woodruff <william@trailofbits.com> validation: cleanup, docs Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e4c33bb - Browse repository at this point
Copy the full SHA e4c33bbView commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 98d5502 - Browse repository at this point
Copy the full SHA 98d5502View commit details -
src, tests: remove self-issued special-casing
Self-issued intermediates are now counted for pathlen and max chain length purposes. This is nominally an RFC 5280 violation, but one that is widely performed by path validation implementations. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for baaeeb2 - Browse repository at this point
Copy the full SHA baaeeb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c886b5 - Browse repository at this point
Copy the full SHA 6c886b5View commit details
Commits on Dec 19, 2023
-
Easier to reuse PublicKeyErrorOps, since we're not relying on its APIs. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for a167fd2 - Browse repository at this point
Copy the full SHA a167fd2View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 9926b98 - Browse repository at this point
Copy the full SHA 9926b98View commit details -
validation: remove unnecessary second loop
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for d4a876f - Browse repository at this point
Copy the full SHA d4a876fView commit details
Commits on Dec 20, 2023
-
tests/limbo: fixup schema assertions
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 474a925 - Browse repository at this point
Copy the full SHA 474a925View commit details -
validation: remove no-op match
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 8152578 - Browse repository at this point
Copy the full SHA 8152578View commit details -
Update src/rust/cryptography-x509-validation/src/policy/mod.rs
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5244884 - Browse repository at this point
Copy the full SHA 5244884View commit details -
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for be84030 - Browse repository at this point
Copy the full SHA be84030View commit details -
test_limbo: assert that intermediates come from untrusted_intermediates
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 27b2b0d - Browse repository at this point
Copy the full SHA 27b2b0dView commit details -
validation: simplify match exprs
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0220e93 - Browse repository at this point
Copy the full SHA 0220e93View commit details -
lib: apply_inner -> apply_single_constraint
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 35de5fd - Browse repository at this point
Copy the full SHA 35de5fdView commit details -
test_limbo: open limbo.json in binary mode
Unclear why this suddenly broke on Windows. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 07f2445 - Browse repository at this point
Copy the full SHA 07f2445View commit details
Commits on Dec 21, 2023
-
validation: simplify, fix NC validation
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for d5b8a45 - Browse repository at this point
Copy the full SHA d5b8a45View commit details -
lib: remove unused default derive
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for c52b597 - Browse repository at this point
Copy the full SHA c52b597View commit details -
policy: add NOTE, relax EKU check
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6e7379a - Browse repository at this point
Copy the full SHA 6e7379aView commit details -
validation: move SAN matching to permits_leaf
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 7830bad - Browse repository at this point
Copy the full SHA 7830badView commit details -
break apart EKU handling by EE/CA
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for e16a347 - Browse repository at this point
Copy the full SHA e16a347View commit details -
validation: reorder permits_leaf for coverage
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 1e00199 - Browse repository at this point
Copy the full SHA 1e00199View commit details -
src, tests: remove CA-in-leaf-position support
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for fee2aa3 - Browse repository at this point
Copy the full SHA fee2aa3View commit details -
validation: unwrap and explain why
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for b65d12f - Browse repository at this point
Copy the full SHA b65d12fView commit details
Commits on Dec 22, 2023
-
validation: remove permits_leaf entirely
Just call permits_ee directly. Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 6aa642c - Browse repository at this point
Copy the full SHA 6aa642cView commit details -
validation/policy: fix validity_date GeneralizedTime check
Signed-off-by: William Woodruff <william@trailofbits.com>
Configuration menu - View commit details
-
Copy full SHA for 0fc7327 - Browse repository at this point
Copy the full SHA 0fc7327View commit details