Exporting RSA public keys via transit/export/public-key/<key-name>/<version> causes nil dereference crash #23980
Labels
bug
Used to indicate a potential bug
reproduced
This issue has been reproduced by a Vault engineer
secret/transit
Describe the bug
Vault server panics when attempting to export a specific public key version with RSA key types, but not EC keys.
To Reproduce
Setup a new vault instance:
Results in:
Expected behavior
I should receive an export of the requested public key version.
This works for ed25519 and ecdsa key types, and if I do
vault read transit/keys/<key name>
I can see my RSA public keys. But I cannot export specific versions of RSA keys.Environment:
vault status
): 1.14.5, 1.15.1vault version
): 1.15.0Vault server configuration file(s):
The text was updated successfully, but these errors were encountered: