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

Generate an "ephemeral" static key pair when using Noise #415

Open
ralexstokes opened this issue May 21, 2020 · 1 comment
Open

Generate an "ephemeral" static key pair when using Noise #415

ralexstokes opened this issue May 21, 2020 · 1 comment

Comments

@ralexstokes
Copy link
Contributor

Refer: https://github.com/libp2p/py-libp2p/blob/master/libp2p/security/noise/transport.py#L28-L33

If noise_privkey there is None, then this module should generate a random key for further use.

Right now we just end up with an exception trying to do cryptography over None.

@ralexstokes
Copy link
Contributor Author

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

No branches or pull requests

1 participant