[PR #93] [MERGED] increase key used times after successful peer registration #2535

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

📋 Pull Request Information

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

Base: mainHead: fix-one-off-key-validation


📝 Commits (1)

  • fd94ffd feature: increase key usage after successful peer registration

📊 Changes

3 files changed (+34 additions, -14 deletions)

View changed files

📝 management/server/account.go (+1 -0)
📝 management/server/http/handler/setupkeys.go (+23 -14)
📝 management/server/setupkey.go (+10 -0)

📄 Description

  • when setup key is used for peer registration then the UsedTimes property of a key should be increased
  • add UsedTimes property to the HTTP response

🔄 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/93 **Author:** [@braginini](https://github.com/braginini) **Created:** 8/20/2021 **Status:** ✅ Merged **Merged:** 8/22/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `fix-one-off-key-validation` --- ### 📝 Commits (1) - [`fd94ffd`](https://github.com/netbirdio/netbird/commit/fd94ffd56296e11b93f8286f860b8f32116cfd53) feature: increase key usage after successful peer registration ### 📊 Changes **3 files changed** (+34 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+1 -0) 📝 `management/server/http/handler/setupkeys.go` (+23 -14) 📝 `management/server/setupkey.go` (+10 -0) </details> ### 📄 Description - [x] when setup key is used for peer registration then the UsedTimes property of a key should be increased - [x] add UsedTimes property to the HTTP response --- <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:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2535