[jboss-jira] [JBoss JIRA] (ELY-1027) CS tool, Parameter --salt requires --iteration and vice versa

Hynek Švábek (JIRA) issues at jboss.org
Fri Mar 24 09:04:00 EDT 2017


Hynek Švábek created ELY-1027:
---------------------------------

             Summary: CS tool, Parameter --salt requires --iteration and vice versa
                 Key: ELY-1027
                 URL: https://issues.jboss.org/browse/ELY-1027
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse


If I use only one parameter from --salt or --iteration then this one is ignored and result password is in clear text.
{code}
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" 
{code}
Result of this command is:
{code}
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"})
{code}

*There is expected error.*

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





--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list