-
Notifications
You must be signed in to change notification settings - Fork 107
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
Pre-shared key generation #10
Comments
It's technically possible. How much extra security would be gained from it though? |
I'm not sure, based on official docs it's used always, but defaulted to bunch of 0s when not configured by user. It could help to further restrict one-to-one relationship between nodes. I ended up writing my own extension of existing database_manager.py with generation of preshared keys. I didn't choose the way to store these keys tho, but I can still make PR. |
Hmmm that sounds interesting. If you could please make a PR I'll take a closer look. |
Made PR with details. (ignore the part for client identifier from above post, I reread the source and its related to public keys, not to preshared keys) |
|
This change does not add the pre-shared keys to the database but from a security perspective this should not be done anyway. If private keys exist the configuration is not overwritten so re-running `genconfig` does not overwrite existing configuration. TODO: add an option to generate new configuration (keys should be regularly rotated) --- * pre-shared keys are recommended to help towards quantum resistance - https://www.wireguard.com/known-limitations/#post-quantum-secrecy * this commit is based on: - k4yt3x#10 (with the missing json import added)
Any chance pre-shared key generation can be added tor each pair of mesh nodes? (Further security improvement)
The text was updated successfully, but these errors were encountered: