[PR #21] [MERGED] Support for pre auth keys #1203

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/21
Author: @juanfont
Created: 5/5/2021
Status: Merged
Merged: 5/6/2021
Merged by: @juanfont

Base: mainHead: working-preauth


📝 Commits (9)

  • 486faa9 WIP Working on authkeys + tests
  • 3110dd1 Added fields in Machine to store authkey + validation tests
  • 9ce8dc3 Preload the namespace
  • e17e10e Preauth keys kinda working
  • 744c687 Fixed linting issues
  • 9bac805 Removed spew
  • fc0c519 Fill RegisterMethod field in Machine
  • 4183db8 Update README (although do not advirtise preauth keys that much yet)
  • 13e0869 Removed logging

📊 Changes

6 files changed (+206 additions, -8 deletions)

View changed files

📝 api.go (+49 -5)
📝 cli.go (+1 -0)
📝 machine.go (+7 -3)
📝 preauth_keys.go (+39 -0)
📝 preauth_keys_test.go (+105 -0)
📝 utils.go (+5 -0)

📄 Description

This is a WIP PR, to add a bit of visibility to this feature.


🔄 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/21 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 5/5/2021 **Status:** ✅ Merged **Merged:** 5/6/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `working-preauth` --- ### 📝 Commits (9) - [`486faa9`](https://github.com/juanfont/headscale/commit/486faa9656e622c82e768169dd2d5c6cc063c0a0) WIP Working on authkeys + tests - [`3110dd1`](https://github.com/juanfont/headscale/commit/3110dd15756af6718dadf5376b7f5cfc05017d51) Added fields in Machine to store authkey + validation tests - [`9ce8dc3`](https://github.com/juanfont/headscale/commit/9ce8dc3fb62a9ee4ab4c5c720f58611aa831d23f) Preload the namespace - [`e17e10e`](https://github.com/juanfont/headscale/commit/e17e10e0b724a9b2d3c2e7c957a460b579706d5d) Preauth keys kinda working - [`744c687`](https://github.com/juanfont/headscale/commit/744c687d3721b8e5930e9f786f09122d990a0421) Fixed linting issues - [`9bac805`](https://github.com/juanfont/headscale/commit/9bac805d5044d042641f52a4a88e00a6271637ea) Removed spew - [`fc0c519`](https://github.com/juanfont/headscale/commit/fc0c519206bb0d65db98275fd5903dc488519096) Fill RegisterMethod field in Machine - [`4183db8`](https://github.com/juanfont/headscale/commit/4183db840e1f308ba01df0c879e0c99bceaeb621) Update README (although do not advirtise preauth keys that much yet) - [`13e0869`](https://github.com/juanfont/headscale/commit/13e086980a28e83164c7a6401dad5c6d3f082643) Removed logging ### 📊 Changes **6 files changed** (+206 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `api.go` (+49 -5) 📝 `cli.go` (+1 -0) 📝 `machine.go` (+7 -3) 📝 `preauth_keys.go` (+39 -0) 📝 `preauth_keys_test.go` (+105 -0) 📝 `utils.go` (+5 -0) </details> ### 📄 Description This is a WIP PR, to add a bit of visibility to this feature. --- <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 02:29:12 +01:00
adam closed this issue 2025-12-29 02:29: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#1203