Registering new nodes with offline private key #360

Closed
opened 2025-12-29 01:27:38 +01:00 by adam · 1 comment
Owner

Originally created by @ghost on GitHub (Oct 26, 2022).

Feature request

Would it be possible to somehow disable the headscale server's ability to register new nodes (maybe by stripping the private key) and do part of that process offline with a master key?

My thought is that this would make an attacker with access to the headscale server unable to register new nodes without also having access to the master key which would preferably be kept offline.

Does this make sense at all, or wouldn't this do much to stop an attacker with access to the headscale server anyway?

Originally created by @ghost on GitHub (Oct 26, 2022). **Feature request** Would it be possible to somehow disable the headscale server's ability to register new nodes (maybe by stripping the private key) and do part of that process offline with a master key? My thought is that this would make an attacker with access to the headscale server unable to register new nodes without also having access to the master key which would preferably be kept offline. Does this make sense at all, or wouldn't this do much to stop an attacker with access to the headscale server anyway?
adam added the enhancement label 2025-12-29 01:27:38 +01:00
adam closed this issue 2025-12-29 01:27:38 +01:00
Author
Owner

@juanfont commented on GitHub (Jan 1, 2023):

Hi @zebhlindqvist, Tailscale has addressed this concern with tailnet lock https://tailscale.com/blog/tailnet-lock/

We will eventually implement it, but right now is not a priority. Headscale is meant for self-hosters - so it is reasonable to assume you trust the person in charge of hosting it :)

@juanfont commented on GitHub (Jan 1, 2023): Hi @zebhlindqvist, Tailscale has addressed this concern with tailnet lock https://tailscale.com/blog/tailnet-lock/ We will eventually implement it, but right now is not a priority. Headscale is meant for self-hosters - so it is reasonable to assume you trust the person in charge of hosting it :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#360