-
Notifications
You must be signed in to change notification settings - Fork 44
Device migration - Exporting/Importing identities #57
Comments
Hi @JustMaier, using the same identity on a different device could lead to consistency problems in OrbitDB since it assumes all public keys are unique per node. What we're aiming for is to have the notion of a 'root' identity (eg Primary device identity) and generate new identities for each device which get linked with the root identity (by signing the respective public keys). In the case of
( Now SD has the information is needs to create an identity which is linked to PD's identity and should be able to write to db's to which PD has write-access. Is this helpful? |
@shamb0t that's helpful, and the process is clear, however, since I'm not super familiar with OrbitDBs verification process I'm not completely sure what the modified verification process would be like. Is there an example of this anywhere? |
Sure thing, the two items that need to be checked are the signatures in Verifying that The other check is to prove ownership of |
Thanks @shamb0t, that's helpful. I'll take that and see if I can implement the migration |
@JustMaier How'd it go? I'm going to move this over to the Field Manual so we can create a chapter or tutorial with more details. |
@aphelionz I started taking a stab at it, but sadly, the work needed to make it happen exceeded the time and energy I was willing to spend on the project. Sorry :( |
No problem, thanks for checking in again anyway :) |
I've created an app using OrbitDB and I'd like to give my users the ability to migrate an identity they started on one device to another. After reading the brief explanation in the README, I'm still not sure about what that process would be. Any help would be appreciated.
I was hoping to do something like this:
So far all of that is pretty straight forward other than 4 and 5 that include exporting/importing OrbitDB identities.
The text was updated successfully, but these errors were encountered: