[PR #157] [CLOSED] Show if an authkey has been used already in the CLI #1291

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/157
Author: @juanfont
Created: 10/13/2021
Status: Closed

Base: mainHead: show-pak-already-used


📝 Commits (1)

  • 999c7ee Show if a authkey has been used already (fixes #154)

📊 Changes

2 files changed (+14 additions, -1 deletions)

View changed files

📝 cmd/headscale/cli/preauthkeys.go (+2 -1)
📝 preauth_keys.go (+12 -0)

📄 Description

This PR implements #154 by adding a new AlreadyUsed field in PreAuthKey - but does not store it in the DB. Instead, it is filled when fetching the auth keys from the DB.


🔄 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/157 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 10/13/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `show-pak-already-used` --- ### 📝 Commits (1) - [`999c7ee`](https://github.com/juanfont/headscale/commit/999c7ee287502e3d7be037d7bc9ccc338146140f) Show if a authkey has been used already (fixes #154) ### 📊 Changes **2 files changed** (+14 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/preauthkeys.go` (+2 -1) 📝 `preauth_keys.go` (+12 -0) </details> ### 📄 Description This PR implements #154 by adding a new `AlreadyUsed` field in `PreAuthKey` - but does not store it in the DB. Instead, it is filled when fetching the auth keys from the DB. --- <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:35 +01:00
adam closed this issue 2025-12-29 02:29:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1291