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

Implement updating a client Pub+PSK when editing a client #401

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

systemcrash
Copy link
Contributor

This covers the normal use-case where clients generate keys locally on their device and notify the server of their new/updated keys.

The server verifies Preshared and Public keys independently of each other. Should a client generate a new tunnel which lacks a PSK and send only a Public key to the server (admin) where the earlier server created profile has a Preshared key, the server admin/user must determine the course of action:
keep or remove the PSK.

This covers the normal use-case where clients generate keys
locally on their device and notify the server of their new/updated keys.

The server verifies Preshared and Public keys independently of each
other. Should a client generate a new tunnel which lacks a PSK and send
only a Public key to the server (admin) where the earlier server created
profile has a Preshared key, the server admin/user must determine the
course of action:
keep or remove the PSK.
@systemcrash
Copy link
Contributor Author

This has been successfully tested and verified on 6bbe230

@systemcrash
Copy link
Contributor Author

Such that the edit dialogue resembles the "create new client" dialogue

pub+psk

@ngoduykhanh ngoduykhanh merged commit 364a43e into ngoduykhanh:master Aug 11, 2023
@systemcrash systemcrash deleted the update_pub_and_psk branch December 3, 2023 15:05
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

Successfully merging this pull request may close these issues.

None yet

2 participants