Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2183

The vault command prompts for the password twice

XMLWordPrintable

      The command line tool to convert a vault to a credential store prompts for the password twice:

      bin/elytron-tool.sh vault --enc-dir standalone/configuration/vault --keystore standalone/configuration/vault.keystore --location standalone/configuration/converted.store
      Vault password: 
      Confirm vault password: 
      

      This is unnecessary as at that point it should be able to attempt to use the password and report an error if it is wrong.

      Please find vault VAULT.dat and keystore vault.keystore attached below for convenience to use in the above command. The password for vault is : secretsecret

      You can also run the command without the server by building wildfly-elytron-tool.jar and running:

      java -jar wildfly-elytron-tool-versionXY.jar vault --enc-dir path/to/vault/folder --keystore path/to/vault.keystore --location path/to/converted.store
      

        1. vault.keystore
          0.5 kB
        2. VAULT.dat
          1 kB

            Unassigned Unassigned
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: