This repository was archived by the owner on Sep 21, 2024. It is now read-only.
feat!: Disaster recovery via gateway - #637
Merged
Merged
Conversation
jsantell
reviewed
Sep 18, 2023
jsantell
left a comment
Contributor
There was a problem hiding this comment.
looking forward to this one
cdata
force-pushed
the
feat/c-ffi-recover-sphere
branch
7 times, most recently
from
September 19, 2023 18:31
56fabc1 to
2e57950
Compare
Collaborator
Author
|
Continuing the trend of forcing lint checks for missing documentation on a crate-by-crate basis, I added |
cdata
marked this pull request as ready for review
September 19, 2023 18:53
jsantell
previously approved these changes
Sep 19, 2023
cdata
force-pushed
the
feat/c-ffi-recover-sphere
branch
from
September 19, 2023 19:47
2e57950 to
bf8579d
Compare
cdata
force-pushed
the
feat/c-ffi-recover-sphere
branch
from
September 19, 2023 19:49
bf8579d to
ec2f9a4
Compare
Merged
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This change proposes a disaster recovery mechanism where an embedding Noosphere client may take advantage of an existing gateway to restore a user's local sphere data.
In order to recover data from a gateway, the following information is needed:
The Noosphere library then generates an ephemeral, one-time-use authorized credential and uses it to perform the fetch half of a gateway sync. After the sync completes, it ensures that the local storage layer is properly configured to use the original device key.