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

CS tool, Parameter --salt requires --iteration and vice versa

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • Credential Store
    • None

      If I use only one parameter from --salt or --iteration then this one is ignored and result password is in clear text.

      java -jar wildfly-elytron-tool.jar credential-store --add myalias --secret supersecretpassword --location="test.store" --uri "cr-store://test?modifiable=true;create=true;keyStoreType=JCEKS" --password mycspassword --summary --salt="abcdefgh" 
      

      Result of this command is:

      Alias "myalias" has been successfully stored
      Credential store command summary:
      --------------------------------------
      /subsystem=elytron/credential-store=test:add(uri="cr-store://test?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="mycspassword"})
      

      There is expected error.

      Please add there this constraint: parameter --salt requires --iteration and vice versa

            yborgess1@redhat.com Yeray Borges Santana
            hsvabek_jira Hynek Švábek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: