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

Add support to pre-shared key for each client #129

Open
ssiuhk opened this issue Jul 25, 2020 · 0 comments
Open

Add support to pre-shared key for each client #129

ssiuhk opened this issue Jul 25, 2020 · 0 comments

Comments

@ssiuhk
Copy link

ssiuhk commented Jul 25, 2020

Is your feature request related to a problem? Please describe.
According to https://wiki.archlinux.org/index.php/WireGuard#Key_generation, One can also generate a pre-shared key to add an additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance. A pre-shared key should be generated for each peer pair and should not be reused.
Adding support to pre-shared key could enhance the security

Describe the solution you'd like
Create a pre-shared_key folder with permission 0700
Add command wg genpsk > client-id.psk in handlers.go and cat the psk in generating the configuration file

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@ssiuhk ssiuhk changed the title Add support to have pre-shared key for each client Add support to pre-shared key for each client Jul 25, 2020
ssiuhk added a commit to ssiuhk/subspace that referenced this issue Aug 26, 2020
…ient

- Added preSharedKey generation for each config
- Added keepalive setting
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

No branches or pull requests

1 participant