[PR #1807] [MERGED] Ephemeral keys can now be reusable and non-reusable #2328

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1807
Author: @juanfont
Created: 3/3/2024
Status: Merged
Merged: 3/3/2024
Merged by: @juanfont

Base: mainHead: fix-ephemeral-reusable


📝 Commits (1)

  • a0cc20b Ephemeral keys can now be reusable and non-reusable

📊 Changes

3 files changed (+38 additions, -12 deletions)

View changed files

📝 cmd/headscale/cli/preauthkeys.go (+1 -8)
📝 hscontrol/db/preauth_keys.go (+1 -1)
📝 hscontrol/db/preauth_keys_test.go (+36 -3)

📄 Description

In Tailscale SaaS, ephemeral keys can be single-user or reusable. Until now, our ephemerals were only reusable.

This PR makes us adhere to the .com behaviour. Fixes the issue reported in #1712.


🔄 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/1807 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 3/3/2024 **Status:** ✅ Merged **Merged:** 3/3/2024 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `fix-ephemeral-reusable` --- ### 📝 Commits (1) - [`a0cc20b`](https://github.com/juanfont/headscale/commit/a0cc20bef99e435261bb081a6f59b81d42c4c858) Ephemeral keys can now be reusable and non-reusable ### 📊 Changes **3 files changed** (+38 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/preauthkeys.go` (+1 -8) 📝 `hscontrol/db/preauth_keys.go` (+1 -1) 📝 `hscontrol/db/preauth_keys_test.go` (+36 -3) </details> ### 📄 Description In Tailscale SaaS, ephemeral keys can be single-user or reusable. Until now, our ephemerals were only reusable. This PR makes us adhere to the .com behaviour. Fixes the issue reported in #1712. --- <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:47 +01:00
adam closed this issue 2025-12-29 03:20:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2328