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
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
..
dnstype types/dnstype: introduce new package for Resolver 3 years ago
empty types/empty: add Message, stop using mysterious *struct{} 4 years ago
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 4 years ago
ipproto net/packet, wgengine/filter: support SCTP 3 years ago
key types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
logger all: gofmt with Go 1.17 3 years ago
netmap types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
nettype wgengine/magicsock, tstest/natlab: start hooking up natlab to magicsock 4 years ago
opt control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash 3 years ago
pad32 net/portmapper: add NAT-PMP client, move port mapping service probing 3 years ago
persist types/key: add a special key with custom serialization for control private keys (#2792) 3 years ago
preftype types/preftype: don't use iota for consts persisted to disk 3 years ago
structs types/structs: add structs.Incomparable annotation, use it where applicable 4 years ago
wgkey types/wgkey: add TODO for a future API change. 3 years ago