Non-reusable authkey is reusable #49

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

Originally created by @0xcd0e on GitHub (Oct 13, 2021).

Tested von v0.10.1
Steps to reproduce:

  1. Create a new non-reusable authkey
    # headscale preauthkeys -n testns create
  2. Join a new node with it
  3. Try to join another node, which doesnt work (as expected)
  4. Delete the node that was joined in step 2
    # headscale nodes -n testns delete 1
  5. Try to join the second node from step 3 again, it works

This of course requires admin access to headscale in order to completely delete a node, but technically this makes a non-reusable key reusable^^

Originally created by @0xcd0e on GitHub (Oct 13, 2021). Tested von v0.10.1 Steps to reproduce: 1. Create a new non-reusable authkey `# headscale preauthkeys -n testns create` 2. Join a new node with it 3. Try to join another node, which doesnt work (as expected) 4. Delete the node that was joined in step 2 `# headscale nodes -n testns delete 1` 5. Try to join the second node from step 3 again, it works This of course requires admin access to headscale in order to completely delete a node, but technically this makes a non-reusable key reusable^^
adam closed this issue 2025-12-29 01:21:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#49