nebula/cmd/nebula-cert
John Maguire 34d002d695
Check CA cert and key match in nebula-cert sign (#503)
`func (nc *NebulaCertificate) VerifyPrivateKey(key []byte) error` would
previously return an error even if passed the correct private key for a
CA certificate `nc`.

That function has been updated to support CA certificates, and
nebula-cert now calls it before signing a new certificate. Previously,
it would perform all constraint checks against the CA certificate
provided, take a SHA256 fingerprint of the provided certificate, insert
it into the new node certificate, and then finally sign it with the
mismatching private key provided.
2021-10-01 12:43:33 -04:00
..
ca.go Add QR code support to `nebula-cert` (#297) 2021-02-11 18:53:25 -06:00
ca_test.go Add QR code support to `nebula-cert` (#297) 2021-02-11 18:53:25 -06:00
keygen.go Public Release 2019-11-19 17:00:20 +00:00
keygen_test.go gofmt 2019-12-11 23:15:57 -05:00
main.go Support for 1.0.0 release 2019-11-19 10:31:59 -08:00
main_test.go enforce the use of goimports (#248) 2020-06-30 18:53:30 -04:00
print.go Add QR code support to `nebula-cert` (#297) 2021-02-11 18:53:25 -06:00
print_test.go Add QR code support to `nebula-cert` (#297) 2021-02-11 18:53:25 -06:00
sign.go Check CA cert and key match in nebula-cert sign (#503) 2021-10-01 12:43:33 -04:00
sign_test.go Check CA cert and key match in nebula-cert sign (#503) 2021-10-01 12:43:33 -04:00
test_darwin.go Fix nebula-cert tests on darwin and windows 2019-12-11 10:13:19 -05:00
test_linux.go Support for 1.0.0 release 2019-11-19 10:31:59 -08:00
test_windows.go Public Release 2019-11-19 17:00:20 +00:00
verify.go enforce the use of goimports (#248) 2020-06-30 18:53:30 -04:00
verify_test.go enforce the use of goimports (#248) 2020-06-30 18:53:30 -04:00