[PR #102] [MERGED] Turn credentials generation #2540

Open
opened 2025-11-20 07:11:30 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/102
Author: @braginini
Created: 8/28/2021
Status: Merged
Merged: 9/2/2021
Merged by: @braginini

Base: mainHead: turn-credentials-generation


📝 Commits (10+)

  • b681d69 abstract peer channel
  • ab8b32f remove wip code
  • 2836a7e refactor NewServer with Peer updates channel
  • fe78c33 feature: add TURN credentials manager
  • 3035b13 Merge branch 'main' into turn-credentials-generation
  • c6d8ac3 hmac logic
  • cc36000 example test function
  • c9152fe test: add TimeBasedAuthSecretsManager_GenerateCredentials test
  • 5bbf7bd test: make tests for now with hardcoded secret
  • 0c30867 test: add TimeBasedAuthSecretsManager_SetupRefresh test

📊 Changes

11 files changed (+399 additions, -57 deletions)

View changed files

📝 client/cmd/testutil.go (+2 -1)
📝 client/testdata/management.json (+13 -8)
📝 management/client/client_test.go (+2 -1)
📝 management/cmd/management.go (+2 -1)
📝 management/server/config.go (+15 -3)
📝 management/server/grpcserver.go (+44 -23)
📝 management/server/management_test.go (+15 -12)
📝 management/server/testdata/management.json (+13 -8)
management/server/turncredentials.go (+123 -0)
management/server/turncredentials_test.go (+133 -0)
util/duration.go (+37 -0)

📄 Description

No description provided


🔄 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/102 **Author:** [@braginini](https://github.com/braginini) **Created:** 8/28/2021 **Status:** ✅ Merged **Merged:** 9/2/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `turn-credentials-generation` --- ### 📝 Commits (10+) - [`b681d69`](https://github.com/netbirdio/netbird/commit/b681d69bf005235fb5e91c2520a3aefebe85a927) abstract peer channel - [`ab8b32f`](https://github.com/netbirdio/netbird/commit/ab8b32ff26a1997f72bfcc5f8e7abd17f2d40ec5) remove wip code - [`2836a7e`](https://github.com/netbirdio/netbird/commit/2836a7eecfb9b450ae763854de5e812d599dd669) refactor NewServer with Peer updates channel - [`fe78c33`](https://github.com/netbirdio/netbird/commit/fe78c339b80243668c9a0ebf34dca14db0be0f4c) feature: add TURN credentials manager - [`3035b13`](https://github.com/netbirdio/netbird/commit/3035b13ec0f0857733011db2276ece711b0cba43) Merge branch 'main' into turn-credentials-generation - [`c6d8ac3`](https://github.com/netbirdio/netbird/commit/c6d8ac32ec40fb7b7089308fe9712b146f9455ba) hmac logic - [`cc36000`](https://github.com/netbirdio/netbird/commit/cc360008b402346a3d5dbad6d1fd1001cdf0f885) example test function - [`c9152fe`](https://github.com/netbirdio/netbird/commit/c9152fe4935386472db21e4d2a0fcd1db5f745d7) test: add TimeBasedAuthSecretsManager_GenerateCredentials test - [`5bbf7bd`](https://github.com/netbirdio/netbird/commit/5bbf7bdf1d9bfd90261e0ac3ed59cb5716e4e587) test: make tests for now with hardcoded secret - [`0c30867`](https://github.com/netbirdio/netbird/commit/0c308675766287bf65abef0ff472c2f68d26bf1b) test: add TimeBasedAuthSecretsManager_SetupRefresh test ### 📊 Changes **11 files changed** (+399 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/testutil.go` (+2 -1) 📝 `client/testdata/management.json` (+13 -8) 📝 `management/client/client_test.go` (+2 -1) 📝 `management/cmd/management.go` (+2 -1) 📝 `management/server/config.go` (+15 -3) 📝 `management/server/grpcserver.go` (+44 -23) 📝 `management/server/management_test.go` (+15 -12) 📝 `management/server/testdata/management.json` (+13 -8) ➕ `management/server/turncredentials.go` (+123 -0) ➕ `management/server/turncredentials_test.go` (+133 -0) ➕ `util/duration.go` (+37 -0) </details> ### 📄 Description _No description provided_ --- <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 2025-11-20 07:11:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2540