tailscale/tailcfg
Dave Anderson 980acc38ba
types/key: add a special key with custom serialization for control private keys (#2792)
* Revert "Revert "types/key: add MachinePrivate and MachinePublic.""

This reverts commit 61c3b98a24.

Signed-off-by: David Anderson <danderson@tailscale.com>

* types/key: add ControlPrivate, with custom serialization.

ControlPrivate is just a MachinePrivate that serializes differently
in JSON, to be compatible with how the Tailscale control plane
historically serialized its private key.

Signed-off-by: David Anderson <danderson@tailscale.com>
2021-09-03 13:17:46 -07:00
..
derpmap.go tailcfg: break DERPNode.DERPTestPort into DERPPort & InsecureForTests 2021-07-09 12:30:31 -07:00
tailcfg.go types/key: add a special key with custom serialization for control private keys (#2792) 2021-09-03 13:17:46 -07:00
tailcfg_clone.go types/key: add a special key with custom serialization for control private keys (#2792) 2021-09-03 13:17:46 -07:00
tailcfg_test.go types/key: add a special key with custom serialization for control private keys (#2792) 2021-09-03 13:17:46 -07:00