04bb7eef15
* Refine documentation for public_key Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Support additional key types in importing version This originally left off the custom support for Ed25519 and RSA-PSS formatted keys that we've added manually. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add support for Ed25519 keys Here, we prevent importing public-key only keys with derived Ed25519 keys. Notably, we still allow import of derived Ed25519 keys via private key method, though this is a touch weird: this private key must have been packaged in an Ed25519 format (and parseable through Go as such), even though it is (strictly) an HKDF key and isn't ever used for Ed25519. Outside of this, importing non-derived Ed25519 keys works as expected. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add public-key only export method to Transit This allows the existing endpoints to retain private-key only, including empty strings for versions which lack private keys. On the public-key endpoint, all versions will have key material returned. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Update tests for exporting via public-key interface Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add public-key export option to docs Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> --------- Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> |
||
---|---|---|
.. | ||
cmd/transit | ||
backend.go | ||
backend_test.go | ||
managed_key_util.go | ||
path_backup.go | ||
path_backup_test.go | ||
path_cache_config.go | ||
path_cache_config_test.go | ||
path_config_keys.go | ||
path_config_keys_test.go | ||
path_datakey.go | ||
path_decrypt.go | ||
path_decrypt_bench_test.go | ||
path_decrypt_test.go | ||
path_encrypt.go | ||
path_encrypt_bench_test.go | ||
path_encrypt_test.go | ||
path_export.go | ||
path_export_test.go | ||
path_hash.go | ||
path_hash_test.go | ||
path_hmac.go | ||
path_hmac_test.go | ||
path_import.go | ||
path_import_test.go | ||
path_keys.go | ||
path_keys_config.go | ||
path_keys_config_test.go | ||
path_keys_test.go | ||
path_random.go | ||
path_random_test.go | ||
path_restore.go | ||
path_restore_test.go | ||
path_rewrap.go | ||
path_rewrap_test.go | ||
path_rotate.go | ||
path_sign_verify.go | ||
path_sign_verify_test.go | ||
path_trim.go | ||
path_trim_test.go | ||
path_wrapping_key.go | ||
path_wrapping_key_test.go | ||
stepwise_test.go |