|
3 months ago | |
---|---|---|
.. | ||
Makefile | 9 months ago | |
README.md | 4 months ago | |
asn1.go | 4 months ago | |
ca_pool.go | 4 months ago | |
ca_pool_test.go | 4 months ago | |
cert.go | 4 months ago | |
cert_v1.go | 3 months ago | |
cert_v1.pb.go | 9 months ago | |
cert_v1.proto | 9 months ago | |
cert_v1_test.go | 4 months ago | |
cert_v2.asn1 | 4 months ago | |
cert_v2.go | 4 months ago | |
cert_v2_test.go | 4 months ago | |
crypto.go | 9 months ago | |
crypto_test.go | 3 months ago | |
errors.go | 4 months ago | |
helper_test.go | 4 months ago | |
pem.go | 4 months ago | |
pem_test.go | 4 months ago | |
sign.go | 4 months ago | |
sign_test.go | 4 months ago |
cert
This is a library for interacting with nebula
style certificates and authorities.
There are now 2 versions of nebula
certificates:
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
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.