mirror of https://github.com/slackhq/nebula.git
31ed9269d7
* add test for GOEXPERIMENT=boringcrypto * fix NebulaCertificate.Sign Set the PublicKey field in a more compatible way for the tests. The current method grabs the public key from the certificate, but the correct thing to do is to derive it from the private key. Either way doesn't really matter as I don't think the Sign method actually even uses the PublicKey field. * assert boring * cleanup tests |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
ca.go | ||
cert.go | ||
cert.pb.go | ||
cert.proto | ||
cert_test.go | ||
crypto.go | ||
crypto_test.go | ||
errors.go |
README.md
cert
This is a library for interacting with nebula
style certificates and authorities.
A protobuf
definition of the certificate format is also included
Compiling the protobuf definition
Make sure you have protoc
installed.
To compile for go
with the same version of protobuf specified in go.mod:
make