nebula/cmd/nebula-cert
John Maguire a56a97e5c3
Add ability to encrypt CA private key at rest (#386)
Fixes #8.

`nebula-cert ca` now supports encrypting the CA's private key with a
passphrase. Pass `-encrypt` in order to be prompted for a passphrase.
Encryption is performed using AES-256-GCM and Argon2id for KDF. KDF
parameters default to RFC recommendations, but can be overridden via CLI
flags `-argon-memory`, `-argon-parallelism`, and `-argon-iterations`.
2023-04-03 13:59:38 -04:00
..
ca.go Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -04:00
ca_test.go Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -04: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 Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -04:00
main_test.go Add note indicating modes have usage text (#794) 2022-12-20 16:53:56 -05: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 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 Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -04:00
sign_test.go Add ability to encrypt CA private key at rest (#386) 2023-04-03 13:59:38 -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 Fix flaky test (#567) 2021-11-04 14:49:56 -05:00