[PR #1603] [MERGED] remove the use key stripping and store the proper keys #2204

Closed
opened 2025-12-29 03:20:12 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1603
Author: @kradalby
Created: 11/15/2023
Status: Merged
Merged: 11/16/2023
Merged by: @kradalby

Base: mainHead: key-stripping


📝 Commits (3)

  • 20d045a remove the use key stripping and store the propper keys
  • e9fceea save the db after test
  • 5846e56 remove unused key fields in tests

📊 Changes

21 files changed (+99 additions, -198 deletions)

View changed files

📝 cmd/headscale/cli/nodes.go (+2 -2)
📝 hscontrol/app.go (+1 -2)
📝 hscontrol/auth.go (+11 -11)
📝 hscontrol/auth_legacy.go (+1 -1)
📝 hscontrol/db/addresses_test.go (+0 -9)
📝 hscontrol/db/db.go (+22 -0)
📝 hscontrol/db/node.go (+8 -8)
📝 hscontrol/db/node_test.go (+5 -5)
📝 hscontrol/db/preauth_keys_test.go (+0 -9)
📝 hscontrol/db/routes_test.go (+0 -21)
📝 hscontrol/db/users_test.go (+0 -6)
📝 hscontrol/grpcv1.go (+1 -1)
📝 hscontrol/handlers.go (+3 -2)
📝 hscontrol/mapper/mapper.go (+1 -1)
📝 hscontrol/oidc.go (+5 -22)
📝 hscontrol/poll.go (+2 -3)
📝 hscontrol/poll_legacy.go (+1 -1)
📝 hscontrol/types/node.go (+3 -4)
📝 hscontrol/util/file.go (+6 -5)
📝 hscontrol/util/key.go (+1 -85)

...and 1 more files

📄 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/juanfont/headscale/pull/1603 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 11/15/2023 **Status:** ✅ Merged **Merged:** 11/16/2023 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `key-stripping` --- ### 📝 Commits (3) - [`20d045a`](https://github.com/juanfont/headscale/commit/20d045ac5a87e6bac7838866462a8731c7deaaf0) remove the use key stripping and store the propper keys - [`e9fceea`](https://github.com/juanfont/headscale/commit/e9fceeac6da2d9bc8e113ba79507d6e904843cde) save the db after test - [`5846e56`](https://github.com/juanfont/headscale/commit/5846e5624bc866efedc5c69d5e78541037364acb) remove unused key fields in tests ### 📊 Changes **21 files changed** (+99 additions, -198 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/nodes.go` (+2 -2) 📝 `hscontrol/app.go` (+1 -2) 📝 `hscontrol/auth.go` (+11 -11) 📝 `hscontrol/auth_legacy.go` (+1 -1) 📝 `hscontrol/db/addresses_test.go` (+0 -9) 📝 `hscontrol/db/db.go` (+22 -0) 📝 `hscontrol/db/node.go` (+8 -8) 📝 `hscontrol/db/node_test.go` (+5 -5) 📝 `hscontrol/db/preauth_keys_test.go` (+0 -9) 📝 `hscontrol/db/routes_test.go` (+0 -21) 📝 `hscontrol/db/users_test.go` (+0 -6) 📝 `hscontrol/grpcv1.go` (+1 -1) 📝 `hscontrol/handlers.go` (+3 -2) 📝 `hscontrol/mapper/mapper.go` (+1 -1) 📝 `hscontrol/oidc.go` (+5 -22) 📝 `hscontrol/poll.go` (+2 -3) 📝 `hscontrol/poll_legacy.go` (+1 -1) 📝 `hscontrol/types/node.go` (+3 -4) 📝 `hscontrol/util/file.go` (+6 -5) 📝 `hscontrol/util/key.go` (+1 -85) _...and 1 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:20:12 +01:00
adam closed this issue 2025-12-29 03:20:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2204