]
Hynek Švábek updated ELY-1027:
------------------------------
Component/s: Credential Store
(was: Command-Line Tool)
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: Credential Store
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