# Functions
DiscoPublicFromRaw32 parses a 32-byte raw value as a DiscoPublic.
MachinePublicFromRaw32 parses a 32-byte raw value as a MachinePublic.
NewChallenge creates and returns a new node private key.
NewControl generates and returns a new control plane private key.
NewDisco creates and returns a new disco private key.
NewMachine creates and returns a new machine private key.
NewNLPrivate creates and returns a new network-lock key.
NewNode creates and returns a new node private key.
NLPublicFromEd25519Unsafe converts an ed25519 public key into a type of NLPublic.
NodePrivateFromRaw32 parses a 32-byte raw value as a NodePrivate.
NodePublicFromRaw32 parses a 32-byte raw value as a NodePublic.
NodePublicWithBadOldPrefix returns a copy of k with its leading public key bytes mutated such that it base64's to a ShortString of [bad01] ("bad ol'" [expired node key]).
ParseMachinePublicUntyped parses an untyped 64-character hex value as a MachinePublic.
No description provided by the author
ParseNodePublicUntyped parses an untyped 64-character hex value as a NodePublic.
# Constants
DiscoPublicRawLen is the length in bytes of a DiscoPublic, when serialized with AppendTo, Raw32 or WriteRawWithoutAllocating.
NodePublicRawLen is the length in bytes of a NodePublic, when serialized with AppendTo, Raw32 or WriteRawWithoutAllocating.
# Structs
ChallengePrivate is a challenge key, used to test whether clients control a key they want to prove ownership of.
ChallengePublic is the public portion of a ChallengePrivate.
ControlPrivate is a Tailscale control plane private key.
DiscoPrivate is a disco key, used for peer-to-peer path discovery.
DiscoPublic is the public portion of a DiscoPrivate.
No description provided by the author
MachinePrecomputedSharedKey is a precomputed shared NaCl box shared key.
MachinePrivate is a machine key, used for communication with the Tailscale coordination server.
MachinePublic is the public portion of a a MachinePrivate.
NLPrivate is a node-managed network-lock key, used for signing node-key signatures and authority update messages.
NLPublic is the public portion of a a NLPrivate.
NodePrivate is a node key, used for WireGuard tunnels and communication with DERP servers.
NodePublic is the public portion of a NodePrivate.