mirror of
https://github.com/juanfont/headscale.git
synced 2025-02-19 19:38:32 +00:00

In TS2021 the MachineKey can be obtained from noiseConn.Peer() - contrary to what I thought before, where I assumed MachineKey was dropped in TS2021. By having a ts2021App and hanging from there the TS2021 handlers, we can fetch again the MachineKey.