[PR #65] [MERGED] Extract common server encryption logic #2513

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/65
Author: @braginini
Created: 7/22/2021
Status: Merged
Merged: 7/22/2021
Merged by: @braginini

Base: mainHead: extract-common-server-logic


📝 Commits (5)

  • 98b2d99 refactor: extract common message encryption logic
  • 403d6da refactor: move letsencrypt logic to common
  • 919e332 refactor: rename common package to encryption
  • 452aa7d test: add encryption tests
  • c7a50e0 chore: minor test refactor

📊 Changes

16 files changed (+343 additions, -141 deletions)

View changed files

📝 cmd/management.go (+3 -32)
📝 cmd/root.go (+0 -33)
📝 cmd/signal.go (+4 -2)
📝 encryption/encryption.go (+2 -4)
encryption/encryption_suite_test.go (+13 -0)
encryption/encryption_test.go (+60 -0)
encryption/letsencrypt.go (+40 -0)
encryption/message.go (+40 -0)
encryption/testprotos/generate.sh (+2 -0)
encryption/testprotos/testproto.pb.go (+142 -0)
encryption/testprotos/testproto.proto (+9 -0)
📝 management/management_test.go (+8 -8)
management/message.go (+0 -44)
📝 management/server.go (+12 -5)
📝 signal/client.go (+5 -11)
📝 signal/encryption_test.go (+3 -2)

📄 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/65 **Author:** [@braginini](https://github.com/braginini) **Created:** 7/22/2021 **Status:** ✅ Merged **Merged:** 7/22/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `extract-common-server-logic` --- ### 📝 Commits (5) - [`98b2d99`](https://github.com/netbirdio/netbird/commit/98b2d997f01d4e4b56517b04cc668ef5bb323474) refactor: extract common message encryption logic - [`403d6da`](https://github.com/netbirdio/netbird/commit/403d6da053f0e64230ad3187f48073717d91751c) refactor: move letsencrypt logic to common - [`919e332`](https://github.com/netbirdio/netbird/commit/919e332f354e765802fc8400436f93d9c6133ab7) refactor: rename common package to encryption - [`452aa7d`](https://github.com/netbirdio/netbird/commit/452aa7d3273e45f66c4d942d3ae970b712905340) test: add encryption tests - [`c7a50e0`](https://github.com/netbirdio/netbird/commit/c7a50e077b47a65743494546f8c69c3d7f4638e0) chore: minor test refactor ### 📊 Changes **16 files changed** (+343 additions, -141 deletions) <details> <summary>View changed files</summary> 📝 `cmd/management.go` (+3 -32) 📝 `cmd/root.go` (+0 -33) 📝 `cmd/signal.go` (+4 -2) 📝 `encryption/encryption.go` (+2 -4) ➕ `encryption/encryption_suite_test.go` (+13 -0) ➕ `encryption/encryption_test.go` (+60 -0) ➕ `encryption/letsencrypt.go` (+40 -0) ➕ `encryption/message.go` (+40 -0) ➕ `encryption/testprotos/generate.sh` (+2 -0) ➕ `encryption/testprotos/testproto.pb.go` (+142 -0) ➕ `encryption/testprotos/testproto.proto` (+9 -0) 📝 `management/management_test.go` (+8 -8) ➖ `management/message.go` (+0 -44) 📝 `management/server.go` (+12 -5) 📝 `signal/client.go` (+5 -11) 📝 `signal/encryption_test.go` (+3 -2) </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:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2513