Files
nebula/cert
Wade Simmons 0dc8a28d1f apply go fix for Go 1.26 (#1867)
* apply `go fix` for Go 1.26

This applies the `go fix` recommendations for go1.26

* for all of ./...
2026-09-14 09:25:35 -04:00
..
2025-03-06 11:28:26 -06:00
2024-10-10 18:00:22 -05:00
2024-10-10 18:00:22 -05:00
2025-03-06 11:28:26 -06:00
2026-02-06 14:26:51 -05:00
2024-10-10 18:00:22 -05:00
2026-05-18 11:10:30 -05:00
2024-10-10 18:00:22 -05:00
2025-03-06 11:28:26 -06:00
2026-09-14 09:25:35 -04:00
2026-02-06 14:26:51 -05:00

cert

This is a library for interacting with nebula style certificates and authorities.

There are now 2 versions of nebula certificates:

v1

This version is deprecated.

A protobuf definition of the certificate format is included at cert_v1.proto

To compile the definition you will need protoc installed.

To compile for go with the same version of protobuf specified in go.mod:

make proto

v2

This is the latest version which uses asn.1 DER encoding. It can support ipv4 and ipv6 and tolerate future certificate changes better than v1.

cert_v2.asn1 defines the wire format and can be used to compile marshalers.