[PR #2917] [MERGED] auth: ensure machines are allowed in when pak change #2933

Closed
opened 2025-12-29 04:19:43 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2917
Author: @kradalby
Created: 11/25/2025
Status: Merged
Merged: 11/30/2025
Merged by: @kradalby

Base: kradalby/release-v0.27.2Head: kradalby/2830-node-logout


📝 Commits (5)

  • 53ef8ee auth: ensure machines are allowed in when pak change
  • fbae23f .github/workflows: build on any PRs, not only main
  • 3e49c65 cmd/hi: forward integration envs
  • 32885b1 delete authkey
  • 82d46b5 fix: restore capver_generated.go from v0.27.1

📊 Changes

19 files changed (+692 additions, -123 deletions)

View changed files

📝 .github/workflows/build.yml (+0 -2)
📝 .github/workflows/test-integration.yaml (+1 -0)
📝 cmd/headscale/cli/preauthkeys.go (+41 -0)
📝 cmd/hi/docker.go (+12 -0)
📝 gen/go/headscale/v1/headscale.pb.go (+95 -90)
📝 gen/go/headscale/v1/headscale.pb.gw.go (+71 -0)
📝 gen/go/headscale/v1/headscale_grpc.pb.go (+38 -0)
📝 gen/go/headscale/v1/preauthkey.pb.go (+118 -24)
📝 gen/openapiv2/headscale/v1/headscale.swagger.json (+38 -0)
📝 hscontrol/auth_test.go (+90 -1)
📝 hscontrol/db/preauth_keys.go (+16 -1)
📝 hscontrol/grpcv1.go (+21 -0)
📝 hscontrol/state/state.go (+17 -5)
📝 integration/auth_key_test.go (+84 -0)
📝 integration/control.go (+1 -0)
📝 integration/hsic/hsic.go (+28 -0)
📝 integration/route_test.go (+7 -0)
📝 proto/headscale/v1/headscale.proto (+7 -0)
📝 proto/headscale/v1/preauthkey.proto (+7 -0)

📄 Description

Fixes #2830


🔄 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/2917 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 11/25/2025 **Status:** ✅ Merged **Merged:** 11/30/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `kradalby/release-v0.27.2` ← **Head:** `kradalby/2830-node-logout` --- ### 📝 Commits (5) - [`53ef8ee`](https://github.com/juanfont/headscale/commit/53ef8ee9d550429ba82fedb1e8a1f16f0d098694) auth: ensure machines are allowed in when pak change - [`fbae23f`](https://github.com/juanfont/headscale/commit/fbae23f519948f1bf43ac10944f57271331046f0) .github/workflows: build on any PRs, not only main - [`3e49c65`](https://github.com/juanfont/headscale/commit/3e49c654dc46d9c22c6a16616734afcfb5660f80) cmd/hi: forward integration envs - [`32885b1`](https://github.com/juanfont/headscale/commit/32885b14a2e33bb133b5e688c9933de191f91aea) delete authkey - [`82d46b5`](https://github.com/juanfont/headscale/commit/82d46b5759d47255dc9e0c9ffcffde34293ae1e7) fix: restore capver_generated.go from v0.27.1 ### 📊 Changes **19 files changed** (+692 additions, -123 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+0 -2) 📝 `.github/workflows/test-integration.yaml` (+1 -0) 📝 `cmd/headscale/cli/preauthkeys.go` (+41 -0) 📝 `cmd/hi/docker.go` (+12 -0) 📝 `gen/go/headscale/v1/headscale.pb.go` (+95 -90) 📝 `gen/go/headscale/v1/headscale.pb.gw.go` (+71 -0) 📝 `gen/go/headscale/v1/headscale_grpc.pb.go` (+38 -0) 📝 `gen/go/headscale/v1/preauthkey.pb.go` (+118 -24) 📝 `gen/openapiv2/headscale/v1/headscale.swagger.json` (+38 -0) 📝 `hscontrol/auth_test.go` (+90 -1) 📝 `hscontrol/db/preauth_keys.go` (+16 -1) 📝 `hscontrol/grpcv1.go` (+21 -0) 📝 `hscontrol/state/state.go` (+17 -5) 📝 `integration/auth_key_test.go` (+84 -0) 📝 `integration/control.go` (+1 -0) 📝 `integration/hsic/hsic.go` (+28 -0) 📝 `integration/route_test.go` (+7 -0) 📝 `proto/headscale/v1/headscale.proto` (+7 -0) 📝 `proto/headscale/v1/preauthkey.proto` (+7 -0) </details> ### 📄 Description Fixes #2830 --- <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 04:19:43 +01:00
adam closed this issue 2025-12-29 04:19:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2933