[PR #1011] [MERGED] Fix pre-shared key not persistent #14689

Closed
opened 2026-08-05 03:06:08 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1011
Author: @bcmmbaga
Created: 7/11/2023
Status: Merged
Merged: 7/13/2023
Merged by: @mlsmaycon

Base: mainHead: fix/netbird-psk-not-persistent


📝 Commits (2)

  • 4bf49b9 update pre-shared key if new key is not empty
  • 35f0890 add unit test for empty pre-shared key

📊 Changes

2 files changed (+22 additions, -5 deletions)

View changed files

📝 client/internal/config.go (+6 -4)
📝 client/internal/config_test.go (+16 -1)

📄 Description

Describe your changes

  • netbird pre-shared not persistent (#887)

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/1011 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 7/11/2023 **Status:** ✅ Merged **Merged:** 7/13/2023 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/netbird-psk-not-persistent` --- ### 📝 Commits (2) - [`4bf49b9`](https://github.com/netbirdio/netbird/commit/4bf49b94050fcb5234f693c0f4fa7379abc04c20) update pre-shared key if new key is not empty - [`35f0890`](https://github.com/netbirdio/netbird/commit/35f089054d2eb19404044add28126a4444dfa2fe) add unit test for empty pre-shared key ### 📊 Changes **2 files changed** (+22 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/config.go` (+6 -4) 📝 `client/internal/config_test.go` (+16 -1) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link * netbird pre-shared not persistent ([#887][i887]) [i887]: https://github.com/netbirdio/netbird/issues/887 ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [x] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:06:08 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14689