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

Ilia Vassilev (JIRA) issues at jboss.org
Fri Mar 24 10:50:01 EDT 2017


     [ https://issues.jboss.org/browse/ELY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilia Vassilev reassigned ELY-1027:
----------------------------------

    Assignee: Ilia Vassilev  (was: Darran Lofthouse)


> 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
>          Components: Command-Line Tool
>            Reporter: Hynek Švábek
>            Assignee: Ilia Vassilev
>
> 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