8000 Implement Fog View Router by samdealy · Pull Request #3297 · mobilecoinfoundation/mobilecoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement Fog View Router #3297

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

Merged
merged 115 commits into from
Apr 24, 2023
Merged

Implement Fog View Router #3297

merged 115 commits into from
Apr 24, 2023

Conversation

samdealy
Copy link
Contributor

Motivation

This PR contains all of the feature work related to the Fog View Router. Each change has already been independently reviewed on the feature/fog-view-router, and the branch itself has been kept up-to-date with master.

samdealy and others added 30 commits September 28, 2022 10:43
* Implement create_multi_view_store_query_data API

* Address remoun's comments
* Create MultiViewStoreQuery API for Fog View Store

* Implement multi_view_store_query in Fog View Store

* Use mut_decryption_error
…discovery (#2200)

* Add client_init and client_connect enclave methods

* Move multiview query construction to ake enclave

* Implement Remoun's suggestions

* Implement second round of remoun's suggestions
#2189)

* Remove FogViewStoreUri

* Implement core Fog Router Service logic

* Refactor module structure and add tests

* Use where clauses

* Implement nick's suggestions

* Implement second round of nick's suggestions

* Implement lint suggestions

* Implement james's suggestions

* Fix naming error

* Fix whitespace
)

* Add FogViewStoreUri

* Split Fog View API in two and implement

* Implement nick's suggestions
* Create helper methods that obliviously collate shard responses

* Implement chris's suggestions

* Fix error string

* Fix lint

* Sort dependencies

* Run format

* fix newline
* Add backend decrypt method to ake enclave

* Add enclave methods for shard response collation

* Refactor response to always include view store uri

* Use shard responses to fill router response

* Implement Nick's suggestions and fix CI errors
* Add readiness API to ShardingStrategy

* Implement readiness check per ShardingStrategy

* Change MVQR error to accommodate different types

* Set not ready message

* Pull out query processing logic to separate method
* attest::NonceMessage, EnclaveNonceMessage, add handling to attest-ake

* Rustfmt fixes
* attest::NonceMessage, EnclaveNonceMessage, add handling to attest-ake

* Rustfmt fixes

* Minor DRY cleanups around sessions and auth messages
* Implement client message to sealed message API for backends

* Update Fog View enclave to build with new AKE enclave API

* Rust type aliases don't protect against passing the aliased type, use a new type instead

* Re-add comment ASCII art

* Additional plumbing of new SealedClientMessage type

* Move SealedClientMessage, finish implementing in fog view router

* Properly update the lockfiles

* Fix clippy lint

* Update lockfiles again after rebase

Co-authored-by: Andrew Wygle <andrew@mobilecoin.com>
* Implement shard management API

* Implement James's suggestions
* Add frontends

* Fix traits on NonceSession
* Re-apply 2463. (#2547)

* Fix traits on NonceSession

* Minor comment and constant consistency/friendliness changes

* Fix compile error.

* Fix deleted Eq from NonceSession.
@samdealy samdealy marked this pull request as ready for review March 29, 2023 19:19
@samdealy samdealy force-pushed the feature/fog-view-router branch from df926c8 to 039d4b4 Compare March 29, 2023 21:52
@samdealy
Copy link
Contributor Author

@jcape I spoke with @aweis89, and he suggested that he merge his PR that contains the deployment fixes after Fog Ledger Router is merged to master. I agreed that it would be ok if we think FLR will get merged soon (by early next week) rather than later (the week after). What do you think?

@jcape jcape requested a review from NotGyro April 4, 2023 17:24
Copy link
Contributor
@awygle awygle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks as I expected, having already reviewed most of this work on the feature branch.

@nick-mobilecoin nick-mobilecoin requested review from nick-mobilecoin and removed request for NotGyro April 17, 2023 17:19
Copy link
Collaborator
@nick-mobilecoin nick-mobilecoin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main things are the unneeded dependencies and the regression of bringing back tempdir

@joekottke joekottke merged commit f6b702f into master Apr 24, 2023
@joekottke joekottke deleted the feature/fog-view-router branch April 24, 2023 18:11
@nick-mobilecoin nick-mobilecoin mentioned this pull request Apr 25, 2023
14 tasks
@eranrund eranrund restored the feature/fog-view-router branch July 28, 2023 18:35
@jgreat jgreat deleted the feature/fog-view-router branch July 31, 2023 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0