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

Build an Identity Prototype #4

Closed
7 tasks
jjeffryes opened this issue Jun 4, 2018 · 4 comments
Closed
7 tasks

Build an Identity Prototype #4

jjeffryes opened this issue Jun 4, 2018 · 4 comments
Milestone

Comments

@jjeffryes
Copy link
Collaborator

jjeffryes commented Jun 4, 2018

Description

The user's identity (public and private keys, peerID) will be generated from a series of words they should remember. Once generated, their identity data should be stored in their local browser in a secure manner.

Questions

  • What, exactly, is stored locally? Public key and peerID? How safe can we make it?
  • Does the user need to re-enter their seed each time? Can the browser store it securely like it would a password?
  • How, exactly, is externally stored data associated with the user in a secure manner?
  • What input is needed for the seed? 12 words?

Deliverables

  • Build a simple web page that can:
    • Generate a mnemonic of 12 (or some number) words at random.
    • Turn the mnemonic into a private and public key pair, and a peerID.
    • Display the generated keys on the page.
    • Display the BIP32 keys for BTC and BCH. Use https://github.com/iancoleman/bip39 as a reference.
    • Store the data in local storage (in the browser).
    • Determine what data can be stored securely. Ideally the user can open a new tab and the new tab has access to the keys and peerID.
@jjeffryes jjeffryes added this to the POC 1.0 milestone Jun 11, 2018
@jashot7
Copy link

jashot7 commented Jun 27, 2018

@jashot7
Copy link

jashot7 commented Jun 27, 2018

Functional, fat trimmed and should serve as an example for how to generate the above.

Note: I ended up pulling out all of the usage of Ian Coleman's work/tool and used our server go code as a reference instead.

Currently using this to explore React Redux, etc.

@jashot7
Copy link

jashot7 commented Jun 29, 2018

@jashot7
Copy link

jashot7 commented Aug 13, 2018

@jjeffries Can we close this?

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

2 participants