0
0
Fork 0
mirror of https://github.com/slackhq/nebula.git synced 2025-01-11 03:48:12 +00:00
slackhq_nebula/cmd/nebula-cert
Jack Doan 35603d1c39
add PKCS11 support (#1153)
* add PKCS11 support

* add pkcs11 build option to the makefile, add a stub pkclient to avoid forcing CGO onto people

* don't print the pkcs11 option on nebula-cert keygen if not compiled in

* remove linux-arm64-pkcs11 from the all target to fix CI

* correctly serialize ec keys

* nebula-cert: support PKCS#11 for sign and ca

* fix gofmt lint

* clean up some logic with regard to closing sessions

* pkclient: handle empty correctly for TPM2

* Update Makefile and Actions

---------

Co-authored-by: Morgan Jones <me@numin.it>
Co-authored-by: John Maguire <contact@johnmaguire.me>
2024-09-09 17:51:58 -04:00
..
ca.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
ca_test.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
keygen.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
keygen_test.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
main.go Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -04:00
main_test.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
p11_cgo.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
p11_stub.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
passwords.go Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -04:00
passwords_test.go Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -04:00
print.go chore: remove refs to deprecated io/ioutil (#987) 2023-10-31 10:35:13 -04:00
print_test.go chore: remove refs to deprecated io/ioutil (#987) 2023-10-31 10:35:13 -04:00
sign.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -04:00
sign_test.go add PKCS11 support (#1153) 2024-09-09 17:51:58 -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 chore: remove refs to deprecated io/ioutil (#987) 2023-10-31 10:35:13 -04:00
verify_test.go chore: remove refs to deprecated io/ioutil (#987) 2023-10-31 10:35:13 -04:00