You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/types/key
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>
3 years ago
..
control.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
control_test.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
key.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
key_test.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
machine.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
machine_test.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
util.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
util_test.go types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago