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

[Grant] ECDH #56

Open
gregdhill opened this issue Apr 4, 2019 · 0 comments
Open

[Grant] ECDH #56

gregdhill opened this issue Apr 4, 2019 · 0 comments

Comments

@gregdhill
Copy link
Contributor

gregdhill commented Apr 4, 2019

ECDH Grants

Establish a shared secret using nacl box: https://godoc.org/golang.org/x/crypto/nacl/box#GenerateKey which uses Elliptic Curve Diffie Hellman to get shared secret.

Uses Curve25519, so if we want to use underlying ed25519 keys we need some key derivation. Also we may want to generate ephemeral keys to do sharing for perfect forward secrecy: https://en.wikipedia.org/wiki/Station-to-Station_protocol

@gregdhill gregdhill changed the title [Grants] ECDH [Grant] ECDH Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant