Skip to content
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

Lukso-3 Add UI for keyexchange #1164

Open
AlexNi245 opened this issue Sep 2, 2024 · 1 comment
Open

Lukso-3 Add UI for keyexchange #1164

AlexNi245 opened this issue Sep 2, 2024 · 1 comment
Assignees

Comments

@AlexNi245
Copy link
Collaborator

If a new device controller log into the UP, the client has to start the KeyExchange process to distribute the new keys to the new controller

  • When logged in with the new controller. The user has to get instructions on how to execute the KeyExchange with an already connected controller
  • The client has to detect an ongoing keyExchange process and let the user update the KeyStore if an oldController is connected
@AlexNi245 AlexNi245 self-assigned this Sep 2, 2024
@AlexNi245
Copy link
Collaborator Author

The user can experience 5 different states when login in with lukso. We need a UI for each of them.

NEW

The UP has never used DM3 before. The user has to create profileKeys and publish them onchain

CONTROLLER_KNOWN

The UP has used Dm3 before, and the keyStore has been published. Hence the user can just login.

CONTROLLER_UNKNOWN

The Up has used Dm3 before but with a different controller. To use it with the current controller it has to publish its publicKey to the KeyStore, so another controller can share its public Keys with them

OPEN_KEY_EXCHANGE_REQUEST

The UP is connected to a controller which already obtains the profileKeys but it has noticed that another controller wants to exchange the profileKeys after the step CONTROLLER_UNKNOWN. It has to execute the keyStoreExchange

KEY_EXCHANGE_PENDING

The controller has completed all steps of CONTROLLER_UNKNOWN. It has to wait until OPEN_KEY_EXCHANGE_REQUEST has been exectued

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant