JackDoan ae1b501468 oops пре 8 месеци
..
p256 f573e8a266 Merge commit from fork пре 8 месеци
Makefile 08ac65362e Cert interface (#1212) пре 2 година
README.md d97ed57a19 V2 certificate format (#1216) пре 1 година
asn1.go d97ed57a19 V2 certificate format (#1216) пре 1 година
ca_pool.go f573e8a266 Merge commit from fork пре 8 месеци
ca_pool_test.go f573e8a266 Merge commit from fork пре 8 месеци
cert.go f573e8a266 Merge commit from fork пре 8 месеци
cert_v1.go 2f71d6b22d Ensure pubkey coherency when rehydrating a handshake cert (#1566) пре 9 месеци
cert_v1.pb.go 08ac65362e Cert interface (#1212) пре 2 година
cert_v1.proto 08ac65362e Cert interface (#1212) пре 2 година
cert_v1_test.go 2f71d6b22d Ensure pubkey coherency when rehydrating a handshake cert (#1566) пре 9 месеци
cert_v2.asn1 d97ed57a19 V2 certificate format (#1216) пре 1 година
cert_v2.go ae1b501468 oops пре 8 месеци
cert_v2_test.go 2f71d6b22d Ensure pubkey coherency when rehydrating a handshake cert (#1566) пре 9 месеци
crypto.go 08ac65362e Cert interface (#1212) пре 2 година
crypto_test.go e5f60fa54f chore: fix some typos in comments (#1582) пре 9 месеци
errors.go 2f71d6b22d Ensure pubkey coherency when rehydrating a handshake cert (#1566) пре 9 месеци
helper_test.go d97ed57a19 V2 certificate format (#1216) пре 1 година
pem.go 3ec527e42c cert.MarshalSigningPublicKeyToPEM should emit the 'ECDSA' variant of the banner (#1552) пре 10 месеци
pem_test.go e5f60fa54f chore: fix some typos in comments (#1582) пре 9 месеци
sign.go f573e8a266 Merge commit from fork пре 8 месеци
sign_test.go f573e8a266 Merge commit from fork пре 8 месеци

README.md

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.