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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Beta28
    • None
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              fjuma1@redhat.com Farah Juma
              Hynek Švábek Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: