[jboss-jira] [JBoss JIRA] (ELY-1264) Wildfly Elytron Tool, credential-store command + --summary option doesn't show MASKed password when we set --salt and --iteration options too.

Hynek Švábek (JIRA) issues at jboss.org
Mon Jun 26 08:18:02 EDT 2017


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

Hynek Švábek updated ELY-1264:
------------------------------
    Description: 
credential-store command with \-\-summary option doesn't show MASKed password when we set \-\-salt and \-\-iteration options too.

There is expected masked password in summary but you get clear text password:
{code}
[hsvabek at dhcp-10-40-4-111 bin]$ ./elytron-tool.sh credential-store --create --location test005.jceks --password pass123 --salt 12345678 --iteration 34 --summary
Credential Store has been successfully created
Credential store command summary:
--------------------------------------
/subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,create=true,modifiable=true,location="test005.jceks",implementation-properties={"keyStoreType"=>"JCEKS"},credential-reference={clear-text="pass123"})
{code}

  was:
credential-store command with \-\-summary option doesn't show MASKed password when we set \-\-salt and \-\-iteration options too.

There is expected masked password in summary but you get this:
{code}
[hsvabek at dhcp-10-40-4-111 bin]$ ./elytron-tool.sh credential-store --create --location test005.jceks --password pass123 --salt 12345678 --iteration 34 --summary
Credential Store has been successfully created
Credential store command summary:
--------------------------------------
/subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,create=true,modifiable=true,location="test005.jceks",implementation-properties={"keyStoreType"=>"JCEKS"},credential-reference={clear-text="pass123"})
{code}



> Wildfly Elytron Tool, credential-store command + --summary option doesn't show MASKed password when we set --salt and --iteration options too.
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ELY-1264
>                 URL: https://issues.jboss.org/browse/ELY-1264
>             Project: WildFly Elytron
>          Issue Type: Bug
>            Reporter: Hynek Švábek
>            Assignee: Darran Lofthouse
>            Priority: Critical
>
> credential-store command with \-\-summary option doesn't show MASKed password when we set \-\-salt and \-\-iteration options too.
> There is expected masked password in summary but you get clear text password:
> {code}
> [hsvabek at dhcp-10-40-4-111 bin]$ ./elytron-tool.sh credential-store --create --location test005.jceks --password pass123 --salt 12345678 --iteration 34 --summary
> Credential Store has been successfully created
> Credential store command summary:
> --------------------------------------
> /subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,create=true,modifiable=true,location="test005.jceks",implementation-properties={"keyStoreType"=>"JCEKS"},credential-reference={clear-text="pass123"})
> {code}



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



More information about the jboss-jira mailing list