John Maguire 428dad94b3 Reject v2 cert names and groups at signing the parser rejects (#1967) il y a 3 jours
..
p256 f8587956ba add sshd.sandbox_dir config option (#1622) il y a 6 mois
Makefile 08ac65362e Cert interface (#1212) il y a 2 ans
README.md d97ed57a19 V2 certificate format (#1216) il y a 1 an
asn1.go d97ed57a19 V2 certificate format (#1216) il y a 1 an
ca_pool.go a82a8dc547 don't panic on bad ed25519 key lengths (#1601) il y a 5 mois
ca_pool_test.go a82a8dc547 don't panic on bad ed25519 key lengths (#1601) il y a 5 mois
cert.go f573e8a266 Merge commit from fork il y a 8 mois
cert_v1.go a82a8dc547 don't panic on bad ed25519 key lengths (#1601) il y a 5 mois
cert_v1.pb.go 08ac65362e Cert interface (#1212) il y a 2 ans
cert_v1.proto 08ac65362e Cert interface (#1212) il y a 2 ans
cert_v1_test.go 2f71d6b22d Ensure pubkey coherency when rehydrating a handshake cert (#1566) il y a 9 mois
cert_v2.asn1 d97ed57a19 V2 certificate format (#1216) il y a 1 an
cert_v2.go 428dad94b3 Reject v2 cert names and groups at signing the parser rejects (#1967) il y a 3 jours
cert_v2_test.go 2f71d6b22d Ensure pubkey coherency when rehydrating a handshake cert (#1566) il y a 9 mois
crypto.go 08ac65362e Cert interface (#1212) il y a 2 ans
crypto_test.go e5f60fa54f chore: fix some typos in comments (#1582) il y a 9 mois
errors.go a82a8dc547 don't panic on bad ed25519 key lengths (#1601) il y a 5 mois
helper_test.go 0d23377c65 Fix flakey cert tests (#1728) il y a 5 mois
pem.go 6aa3363d85 Add explicit unmarshaller for signing and key agreement public keys (#1777) il y a 3 mois
pem_test.go 6aa3363d85 Add explicit unmarshaller for signing and key agreement public keys (#1777) il y a 3 mois
sign.go f573e8a266 Merge commit from fork il y a 8 mois
sign_test.go 428dad94b3 Reject v2 cert names and groups at signing the parser rejects (#1967) il y a 3 jours

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.