-
Notifications
You must be signed in to change notification settings - Fork 211
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
Authentication example #275
Comments
It is not possible just yet to authenticate with a pre-shared key, though exposing the option to provide a pre-shared key should be straightforward. It would involve modifying the handshake function in client.go. However, I currently am busy right now with other projects, unfortunately. I will only be able to integrate in this option around next week. However, if you need it and able are to tackle it now, I would appreciate a PR! Happy to help out should that be the case too :). |
any update on this? we're starting a project with Noise and just identified a need for this today, to prevent a "poisoned peer" situation where anyone running the noise protocol could attempt to talk to your peer network. |
@haukened I actually don't have a working solution for this. I have thought of two solutions. |
Thanks for the update bgkoden. i think adding a protocol might be what i need here! I'll likely extend gossip to have a PSK field. |
@haukened What did you end up doing? I am working on something with a similar need. |
Hello, I am looking for an example where two nodes authenticate with a pre-shared key.
Is it possible or should I add a new extension?
The text was updated successfully, but these errors were encountered: