Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3001

Elytron Tool Vault Conversion Gives Incorrect Output for Custom Name/Location

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Beta28
    • Component/s: None
    • Labels:
      None

      Description

      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:

      ./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"
      

      produces the output:

      Vault (enc-dir="../vaults/";keystore="../vaults/vault.keystore") converted to credential store "../vaults/converted-vault.cr-store"
      

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fjuma Farah Juma
                  Reporter:
                  fjuma Farah Juma
                  Tester:
                  Hynek Švábek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: