open-vault/builtin/logical/transit
Matt Schultz 5aabe4a5f8
Add Transit BYOK wrapping key endpoint (#15271)
* add wrapping key endpoint

* change how wrapping key is stored

* move wrapping key func to backend

* refactor wrapping key generation

* Initial unit tests for Transit wrapping key endpoint

* Wire up wrapping key unit tests to actual implementation.

* Clean up Transit BYOK wrapping key tests and imports.

* Fix Transit wrapping key endpoint formatting.

* Update transit wrapping key to use lock manager for safe concurrent use.

* Rename some Transit wrapping key variables. Ensure the Transit wrapping key is correctly typed and formatted in a unit test.

* Fix spacing issue in Transit wrapping key endpoint help string.

Co-authored-by: rculpepper <rculpepper@hashicorp.com>
2022-05-11 11:28:32 -05:00
..
cmd/transit
backend.go Add Transit BYOK wrapping key endpoint (#15271) 2022-05-11 11:28:32 -05:00
backend_test.go Cleanup bool checks (#14102) 2022-02-18 07:35:53 -07:00
path_backup.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_backup_test.go
path_cache_config.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
path_cache_config_test.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
path_config.go Revert "MFA (#14049)" (#14135) 2022-02-17 13:17:59 -07:00
path_config_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
path_datakey.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
path_decrypt.go Check that all required fields in Transit API are present. (#14074) 2022-02-22 16:00:25 -05:00
path_decrypt_bench_test.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_decrypt_test.go Return non-retryable errors on transit encrypt and decrypt failures (#13111) 2021-11-15 15:53:22 -06:00
path_encrypt.go Use FieldData.GetOkError() to access required Transit parameters. (#14593) 2022-03-18 16:10:38 -04:00
path_encrypt_bench_test.go Improving transit batch encrypt and decrypt latencies (#8775) 2020-06-10 13:31:46 -04:00
path_encrypt_test.go Use FieldData.GetOkError() to access required Transit parameters. (#14593) 2022-03-18 16:10:38 -04:00
path_export.go Enforce minimum cache size for transit backend (#12418) 2021-09-13 16:44:56 -05:00
path_export_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_hash.go Use FieldData.GetOkError() to access required Transit parameters. (#14593) 2022-03-18 16:10:38 -04:00
path_hash_test.go Use FieldData.GetOkError() to access required Transit parameters. (#14593) 2022-03-18 16:10:38 -04:00
path_hmac.go Adds support for SHA-3 to transit (#13367) 2021-12-08 12:29:33 -06:00
path_hmac_test.go Adds support for SHA-3 to transit (#13367) 2021-12-08 12:29:33 -06:00
path_keys.go Revert "MFA (#14049)" (#14135) 2022-02-17 13:17:59 -07:00
path_keys_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
path_random.go Fix fmt error (#15266) 2022-05-03 10:07:23 -04:00
path_random_test.go Allow callers to choose the entropy source for the random endpoints. (#15213) 2022-05-02 14:42:07 -05:00
path_restore.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_restore_test.go Fix some linting errors (#12860) 2021-10-18 17:29:47 -07:00
path_rewrap.go reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
path_rewrap_test.go fix missing plaintext in bulk decrypt response (#9991) 2020-09-22 09:43:07 -04:00
path_rotate.go Enforce minimum cache size for transit backend (#12418) 2021-09-13 16:44:56 -05:00
path_sign_verify.go Adds support for SHA-3 to transit (#13367) 2021-12-08 12:29:33 -06:00
path_sign_verify_test.go Adds support for SHA-3 to transit (#13367) 2021-12-08 12:29:33 -06:00
path_trim.go Use FieldData.GetOkError() to access required Transit parameters. (#14593) 2022-03-18 16:10:38 -04:00
path_trim_test.go Check that all required fields in Transit API are present. (#14074) 2022-02-22 16:00:25 -05:00
path_wrapping_key.go Add Transit BYOK wrapping key endpoint (#15271) 2022-05-11 11:28:32 -05:00
path_wrapping_key_test.go Add Transit BYOK wrapping key endpoint (#15271) 2022-05-11 11:28:32 -05:00
stepwise_test.go Cleanup bool checks (#14102) 2022-02-18 07:35:53 -07:00