0
0
Fork 0
mirror of https://github.com/slackhq/nebula.git synced 2025-04-28 06:32:23 +00:00
slackhq_nebula/cert
2025-04-21 13:28:43 -04: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 Improve logging when handshaking with an invalid cert (#1345) 2025-03-07 10:45:31 -06: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 V2 certificate format (#1216) 2025-03-06 11:28:26 -06: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.