Debian Codegraph @

cert/README.md

raw
1 ## `cert`
2
3 This is a library for interacting with `nebula` style certificates and authorities.
4
5 There are now 2 versions of `nebula` certificates:
6
7 ## v1
8
9 This version is deprecated.
10
11 A `protobuf` definition of the certificate format is included at `cert_v1.proto`
12
13 To compile the definition you will need `protoc` installed.
14
15 To compile for `go` with the same version of protobuf specified in go.mod:
16
17 ```bash
18 make proto
19 ```
20
21 ## v2
22
23 This is the latest version which uses asn.1 DER encoding. It can support ipv4 and ipv6 and tolerate
24 future certificate changes better than v1.
25
26 `cert_v2.asn1` defines the wire format and can be used to compile marshalers.