]
Farah Juma moved ELY-1262 to WFCORE-3001:
-----------------------------------------
Project: WildFly Core (was: WildFly Elytron)
Key: WFCORE-3001 (was: ELY-1262)
Elytron Tool Vault Conversion Gives Incorrect Output for Custom
Name/Location
-----------------------------------------------------------------------------
Key: WFCORE-3001
URL:
https://issues.jboss.org/browse/WFCORE-3001
Project: WildFly Core
Issue Type: Bug
Reporter: Farah Juma
Assignee: Farah Juma
When doing a vault conversion to a credential store using the WildFly Elytron tool, if
you specify a custom name or location for the new credential store, the output from the
script is incorrect. The store is created as expected with the correct name and location.
e.g. using the command:
{code}
./elytron-tool.sh vault --keystore ../vaults/vault.keystore --keystore-password vault22
--enc-dir ../vaults/ --salt 1234abcd --iteration 120 --alias my_vault --properties
"location=../cred_stores/my_vault_converted.cred_store"
{code}
produces the output:
{code}
Vault (enc-dir="../vaults/";keystore="../vaults/vault.keystore")
converted to credential store "../vaults/converted-vault.cr-store"
{code}
The store is created as expected with the correct name in the specified location
({{../cred_stores/my_vault_converted.cred_store}}), and nothing is generated in the
location mentioned in the output.
The output of the script should be fixed to be accurate for the provided properties.