-
Notifications
You must be signed in to change notification settings - Fork 11
chore: x509 refactor, part 11: The Valley Of Horrors #2116
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
Open
istankovic
wants to merge
61
commits into
main
Choose a base branch
from
ivan/x509-part-11
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
b23c919
refactor: e2e-identity: remove PkiEnvironmentProvider
istankovic 75e4219
chore: e2e-identity: we don't need to check for the inner PKI environ…
istankovic 7b68336
chore: e2e-identity: move credential validation to PkiEnvironment
istankovic 9501ae6
chore: e2e-identity: we don't need to check for the inner PKI environ…
istankovic b6645fd
chore: e2e-identity: drop {set,refresh}_time_of_interest
istankovic 56590cb
chore: e2e-identity: add a a now() helper to get the current time
istankovic 6b4b9db
chore: e2e-identity: refresh_time_of_interest is no more
istankovic 39ab0da
chore: e2e-identity: validate_credential no longer needs a mutable se…
istankovic c58deb6
chore: e2e-identity: remove the `toi` field from the inner PKI enviro…
istankovic a178d12
chore: e2e-identity: use the now() helper to get time of interest
istankovic 7642b5c
chore: e2e-identity: remove PkiEnvironmentParams.time_of_interest
istankovic ffd7646
chore: remove usages of PkiEnvironmentParams.time_of_interest
istankovic 38c8b79
chore: e2e-identity: add PkiEnvironment::set_pki_environment_provider
istankovic 14d3cce
chore: crypto-ffi: PkiEnvironment is no longer Clone
istankovic 80975bb
test: e2e-identity: PkiEnvironment is no longer Clone, wrap it inside…
istankovic c4cf93e
chore: crypto: add a new authentication service type
istankovic 078f13d
refactor: crypto: drop the RwLock and use the new AuthenticationService
istankovic e475e48
chore: e2e-identity: add PkiEnvironment::validate_cert
istankovic 060b2d7
chore: e2e-identity: allow adding intermediate certs to the PKI env
istankovic 27012b0
chore: e2e-identity: store trust anchors to the database
istankovic 5445301
chore: crypto: remove init_certificates tests
istankovic 0276fc3
chore: crypto: remove cert and CRL registration functions
istankovic 506fb61
chore: crypto-ffi: remove e2ei_is_pki_env_setup
istankovic 39bb802
chore: crypto: remove init_certificates module
istankovic 02dcd99
chore: crypto: save CRLs via the PKI environment
istankovic 9e384e0
test: crypto: remove X509TestChain::init_for_random_clients
istankovic 4cb5a4b
test: crypto: remove can_generate_session test
istankovic 9045320
test: crypto: remove X509TestChain::register_with_provider
istankovic 0b26c7d
chore: e2e-identity: remove set_pki_environment_provider, it is now u…
istankovic f5d448a
test: crypto: don't check for federated certs
istankovic 8fdf3da
test: crypto: remove the now unused `is_federated` field
istankovic ff85eb5
test: crypto: remove sessions_with_pki_env
istankovic f681bba
test: crypto: remove sessions_basic_with_pki_env
istankovic 3a3098d
test: crypto: add certificates and CRLs to the session's PKI environment
istankovic abff0c5
chore: crypto: remove some more usages of mls_pki_env_provider
istankovic 69d5d6b
chore: crypto: provide outer PKI env in calls to extract_identity
istankovic 2797333
chore: e2e-identity: make extract_identity accept the outer PKI env
istankovic 6ba109a
chore: e2e-identity: call extract_identity with the outer PKI env
istankovic 178ab0f
chore: e2e-identity: add a way to get all trust anchors from the PKI …
istankovic fe10837
chore: e2e-identity: use the outer PKI env to get trust anchors
istankovic ed27597
chore: e2e-identity: remove mls_pki_env_provider
istankovic 61daa34
chore: e2e-identity: remove a call to update_pki_environment_provider
istankovic 334b914
chore: e2e-identity: remove update_pki_environment_provider
istankovic ae3aab6
chore: e2e-identity: add a mutex around the inner PKI environment
istankovic 4d60315
chore: bring back Arc and RwLock to CoreCrypto.pki_environment
istankovic 7153a92
chore: e2e-identity: add a way to create a PKI env with dummy hooks
istankovic 5f924b8
test: e2e-identity: fix tests
istankovic a411aff
chore: e2e-identity: don't use db transactions
istankovic dcbc3dc
chore: e2e-identity: remove validate_crl function of the inner PKI en…
istankovic 8e0702c
chore: crypto-ffi: remove unused derive_more::Into derive
istankovic 1c32bfb
chore: crypto-ffi: add a way to clone the internal, Rust PKI env
istankovic ef4d5ad
chore: crypto-ffi: get the internal PKI env by calling clone_inner()
istankovic f10b143
test: crypto: remove x509 test cases from all_cred_cipher
istankovic 375adc9
test: crypto: ignore x509 tests
istankovic 9330ede
chore: e2e-identity: WireIdentityReader::extract_identity has to be a…
istankovic c4ee6b1
chore: crypto: adjust for extract_identity now being async
istankovic 480a121
fixup! chore: e2e-identity: move credential validation to PkiEnvironment
istankovic ef18ac2
chore: e2e-identity: remove unnecessary use
istankovic 8ad61c8
chore: e2e-identity: simplify error checking in validate_cert
istankovic 3a988b2
chore: e2e-identity: add a comment to revisit credential status check…
istankovic b4c1f49
fixup! chore: crypto: add a new authentication service type
istankovic 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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
I'd expect the
anycheck to have better short-circuit behavior than thisallimplementation.