Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Migration flow design #50

Open
tenmalin opened this issue Nov 4, 2014 · 0 comments
Open

Migration flow design #50

tenmalin opened this issue Nov 4, 2014 · 0 comments

Comments

@tenmalin
Copy link
Collaborator

tenmalin commented Nov 4, 2014

Migration step is required when the user tries to move all app data from old device to new one. Currently we backup slung public keys and private keys lists to cloud (iCloud or Google Cloud) and backup file is encrypted simply by passphrase which is considering to be change because of security concern.

The first proposal relies on generating a ticket with sufficient entropy.e.g, 256 bits or longer. Mixing with user passphrase to encrypt user profile when app backups. The app is able to store ticket locally through printing a QR code image easily for users to keep photo album or output as a pdf file. Then the new device can pull the backup file from the cloud server, decrypt by reading the QR code and typing memorized passphrase, and then resume the app like before. The last step is sending out token update messages to all recipients he/she slung before.

Detail progress:

  1. User press migration button on his/her old device.
  2. Old device backups profile if necessary (or use other technology to transfer data to the new device).
  3. Display ticket on the old device.
  4. Install SafeSlinger app on the new device, and pull encrypted profile from cloud server.
  5. Read ticket from old device by taking bar code, and then enter corresponding passphrase to restore profile.
  6. Perform token update with new token information.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants