[jboss-jira] [JBoss JIRA] (WFCORE-2659) Credential-store, User isn't able to use masked password from Wildfly-elytron-tool.
Peter Skopek (JIRA)
issues at jboss.org
Tue Apr 11 03:24:01 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Skopek reassigned WFCORE-2659:
------------------------------------
Assignee: Peter Skopek (was: Darran Lofthouse)
> Credential-store, User isn't able to use masked password from Wildfly-elytron-tool.
> -----------------------------------------------------------------------------------
>
> Key: WFCORE-2659
> URL: https://issues.jboss.org/browse/WFCORE-2659
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Hynek Švábek
> Assignee: Peter Skopek
> Priority: Blocker
>
> User isn't able to use masked password from Wildfly-elytron-tool.
> When I generate masked password through tool from EAP7.1.0.DR15 it's worked!
> I expect that I will be able to use masked string from actual version of wildfly-elytron-tool.
> *How to reproduce*
> {code}
> java -jar wildfly-elytron-tool.jar mask -x secret_password -s 12345678 -i 230
> MASK-1GhfMaq4jSY0.kFFU3QG4T;12345678;230
> {code}
> {code}
> [standalone at localhost:9990 /] /subsystem=elytron/credential-store=csmasked002:add(uri="cr-store://csmasked002.jceks?create=true", credential-reference={clear-text="MASK-1GhfMaq4jSY0.kFFU3QG4T;12345678;230"})
> {
> "outcome" => "failed",
> "failure-description" => {"WFLYCTL0080: Failed services" => {"org.wildfly.security.credential-store.csmasked002" => "WFLYELY00004: Unable to start the service.
> Caused by: java.io.IOException: javax.crypto.BadPaddingException: Given final block not properly padded
> Caused by: javax.crypto.BadPaddingException: Given final block not properly padded"}},
> "rolled-back" => true
> }
> {code}
> *NOTE:*
> When I use in DR16 masked string from DR15 then it's working. And password in plain text is original one -> "secret_password".
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list