nebula/cert
Jack Doan 768325c9b4
Some checks failed
gofmt / Run gofmt (push) Has been cancelled
smoke-extra / Run extra smoke tests (push) Has been cancelled
smoke / Run multi node smoke test (push) Has been cancelled
Build and test / Build all and test on ubuntu-linux (push) Has been cancelled
Build and test / Build and test on linux with boringcrypto (push) Has been cancelled
Build and test / Build and test on linux with pkcs11 (push) Has been cancelled
Build and test / Build and test on macos-latest (push) Has been cancelled
Build and test / Build and test on windows-latest (push) Has been cancelled
cert-v2 chores (#1466)
2025-09-05 15:08:22 -05:00
..
asn1.go V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
ca_pool.go V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
ca_pool_test.go Enable running testifylint in CI (#1350) 2025-03-10 17:38:14 -05:00
cert.go cert-v2 chores (#1466) 2025-09-05 15:08:22 -05:00
cert_v1.go upgrade to yaml.v3 (#1148) 2025-03-31 16:08:34 -04:00
cert_v1.pb.go Cert interface (#1212) 2024-10-10 18:00:22 -05:00
cert_v1.proto Cert interface (#1212) 2024-10-10 18:00:22 -05:00
cert_v1_test.go Enable running testifylint in CI (#1350) 2025-03-10 17:38:14 -05:00
cert_v2.asn1 V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
cert_v2.go V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
cert_v2_test.go Enable running testifylint in CI (#1350) 2025-03-10 17:38:14 -05:00
crypto.go Cert interface (#1212) 2024-10-10 18:00:22 -05:00
crypto_test.go Support 32-bit machines in crypto test (#1394) 2025-04-21 13:28:43 -04:00
errors.go cert-v2 chores (#1466) 2025-09-05 15:08:22 -05:00
helper_test.go V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
Makefile Cert interface (#1212) 2024-10-10 18:00:22 -05:00
pem.go V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
pem_test.go Enable running testifylint in CI (#1350) 2025-03-10 17:38:14 -05:00
README.md V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
sign.go V2 certificate format (#1216) 2025-03-06 11:28:26 -06:00
sign_test.go Enable running testifylint in CI (#1350) 2025-03-10 17:38:14 -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.