summaryrefslogtreecommitdiffhomepage
path: root/derp/derpconst/derpconst.go
blob: 03ef249ce1b2828b053b8089cc3d3cbb8ab48462 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause

// Package derpconst contains constants used by the DERP client and server.
package derpconst

// MetaCertCommonNamePrefix is the prefix that the DERP server
// puts on for the common name of its "metacert". The suffix of
// the common name after "derpkey" is the hex key.NodePublic
// of the DERP server.
const MetaCertCommonNamePrefix = "derpkey"