-
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
verification: fill in policy API internals #9642
Merged
alex
merged 66 commits into
pyca:main
from
trail-of-forks:tob-x509-policy-without-permits
Sep 30, 2023
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
36fef28
src, tests: flatten all changes
woodruffw e4e300f
cryptography, rust: lintage
woodruffw 35a4e28
Merge branch 'main' into tob-x509-api-breakout
woodruffw bb76afe
cryptography, rust: lintage, add Policy.subject API
woodruffw 3a67770
src, tests: initial PolicyBuilder tests
woodruffw 6cabf0d
verify: Policy.validation_time getter
woodruffw 8157ce4
push Store into rust
woodruffw 5a69a28
cleanup, fixup
woodruffw 539a7b2
Merge remote-tracking branch 'upstream/main' into tob-x509-api-breakout
woodruffw f6933ca
Merge branch 'main' into tob-x509-api-breakout
woodruffw 91ef5c4
tests: lintage
woodruffw fbe4132
src: lintage
woodruffw 2b46371
Merge remote-tracking branch 'upstream/main' into tob-x509-api-breakout
woodruffw 1f5ee07
Merge branch 'main' into tob-x509-api-breakout
facutuesca c96f4b8
tests: fix linter warning
facutuesca 5493338
policy: apply the relevant parts of trail-of-forks/cryptography/pull/3
woodruffw d900a6e
Merge branch 'main' into tob-x509-api-breakout
woodruffw 0789d73
policy: typo
woodruffw 7852430
fixup type hints
woodruffw a5154e1
drop dep
woodruffw 08df667
Revert "drop dep"
woodruffw d2d54c4
Merge remote-tracking branch 'upstream/main' into tob-x509-api-breakout
woodruffw 2c1017b
mod: remove permits_* bodies
woodruffw fafafcd
src: drop certificate helpers as well
woodruffw 35c3d9f
verify: remove unneeded explicit lifetimes
woodruffw 9b62075
tests: builder API coverage
woodruffw 438e59d
tests: more coverage
woodruffw 318393c
type hints
woodruffw cf3ad95
unused derives
woodruffw 27f7628
validation: more coverage
woodruffw 00af5ca
policy: more cov
woodruffw 7d1b0c1
policy: more coverage
woodruffw 9ec4154
policy: add some known bad testcases
woodruffw 92804f1
policy: coverage
woodruffw 6b45a77
Merge remote-tracking branch 'upstream/main' into tob-x509-api-breakout
woodruffw e956dd6
validation: remove trust_store
woodruffw 26cee8b
ops: add NullOps test
woodruffw aa45a4f
x509: reimplement verify_directly_issued_by via CryptoOps
woodruffw 7f3cef1
Merge branch 'main' into tob-x509-api-breakout
woodruffw 69538d8
ops: use results
woodruffw 1f7dc3a
src, tests: last cov, hopefully
woodruffw d355128
test: lintage
woodruffw a4e7d34
docs: fill in API docs
woodruffw 083ad34
Merge branch 'main' into tob-x509-api-breakout
woodruffw f217a36
Merge branch 'main' into tob-x509-api-breakout
woodruffw cd3887a
rust: uniform imports
woodruffw fb078fc
minimize for MVP
woodruffw a48d6af
verify: remove old NOTE
woodruffw 9920ef1
verify: remove another old NOTE
woodruffw 1aa0253
src, tests: fixup tests
woodruffw 640d735
docs: cleanup
woodruffw 96269ce
src, tests: drop support for missing subjects
woodruffw 8aefa1c
profile: remove old comments
woodruffw f9b9a3b
Merge branch 'main' into tob-x509-api-breakout-backup-2
woodruffw 4fbd1a9
Merge remote-tracking branch 'upstream/main' into tob-x509-policy-wit…
woodruffw 4012c35
verification: deconflict docs
woodruffw 2ff1efa
validation: bump pem dev-dep
woodruffw 133749d
validation: drop PolicyError
woodruffw 2a6cd3a
validation: drop Policy::rfc5280
woodruffw 5624341
Merge remote-tracking branch 'upstream/main' into tob-x509-policy-wit…
woodruffw a6bac40
Merge branch 'main' into tob-x509-policy-without-permits
woodruffw 925c0fa
Merge remote-tracking branch 'upstream/main' into tob-x509-policy-wit…
woodruffw 832581e
Merge remote-tracking branch 'upstream/main' into tob-x509-policy-wit…
woodruffw 90e502b
`Policy::webpki` -> `Policy::new`
woodruffw d931e12
Merge branch 'main' into tob-x509-policy-without-permits
woodruffw 4bb0eb7
validation/policy: remove configuration APIs
woodruffw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The only default from CAB here is the permitted algorithms and the EKU right?
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.
Yep, the actual policy logic itself isn't filled in yet.