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

Fix preshared key not persisted in config #1474

Merged
merged 3 commits into from
Jan 19, 2024

Conversation

pascal-fischer
Copy link
Contributor

Describe your changes

Added a new field to the grpc proto which is defining the preshared key as optional string and marked the old field as deprecated. This way the communication between client and daemon can differentiate between not changed preshared key and empty preshared key.

Requires test of client in background mode, in forground mode and from UI client.

Issue ticket number and link

#1472

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

bcmmbaga
bcmmbaga previously approved these changes Jan 16, 2024
@pascal-fischer pascal-fischer merged commit f099e02 into main Jan 19, 2024
20 checks passed
@pascal-fischer pascal-fischer deleted the fix/preshared-key-not-persistent branch January 19, 2024 09:30
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
* replace the preshared key attribute in LoginRequest protobuff with an optional replacement

* mark old field as deprecated

* fix ui client to also keep preshared key
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.

2 participants