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

cryptography update with cleaner module #15

Merged
merged 4 commits into from
Jun 25, 2018

Conversation

cryptohazard
Copy link
Collaborator

This code implements the following features:

  • create a crypto module to regroup all the functions
  • uses steem-js crypto as subfolder
  • stop sending user private key to server
  • instead create a shared secret from user memo and server memo keys
  • add a fix hmac derivation (this can be easily extend to have session keys)
  • note: users can authenticate the server (Lara) the same way they are authenticated by the server (not implemented yet)
  • prepare switch from memo encryption to AES-GCM encryption (this will improve the overall speed)

TODO

  • clean all the places we send the private key to the server
  • clean up the logs
  • move the key storage from cookie to local/session storage
  • add key storage encryption
  • use Ephemeral DH
  • use one crypto library instead of many

@cryptohazard cryptohazard mentioned this pull request Jun 21, 2018
@kingswisdom kingswisdom merged commit a509948 into kingswisdom:main Jun 25, 2018
@kingswisdom
Copy link
Owner

Thanks for your contribution !

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

Successfully merging this pull request may close these issues.

2 participants