[JBoss JIRA] (WFCORE-2478) Credential store, during creation of CS backed keystore is not created on filesystem.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2478?page=com.atlassian.jira.plugi... ]
Darran Lofthouse updated WFCORE-2478:
-------------------------------------
Fix Version/s: 3.0.0.Beta18
> Credential store, during creation of CS backed keystore is not created on filesystem.
> -------------------------------------------------------------------------------------
>
> Key: WFCORE-2478
> URL: https://issues.jboss.org/browse/WFCORE-2478
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Martin Choma
> Assignee: Yeray Borges
> Priority: Critical
> Fix For: 3.0.0.Beta18
>
>
> Keystore is created after writing secret key into it. So instead of "write alias" operation it is more "write alias and create backed keystore if not exists yet" operation.
> How to reproduce:
> - create credential store from scratch
> {code}
> [standalone@localhost:9990 /] /subsystem=elytron/credential-store=myCredStore:add(uri="cr-store://test/myCredStore.jceks?create=true", credential-reference={clear-text=pass123}, relative-to=jboss.server.config.dir)
> {"outcome" => "success"}
> {code}
> - myCredStore.jceks does not exists on FS (I would expect it will be created)
> {code}
> [standalone@localhost:9990 /] /subsystem=elytron/credential-store=myCredStore/alias=myAlias:add(secret-value=secret)
> {"outcome" => "success"}
> {code}
> - myCredStore.jceks exists on FS
> Setting high priority as lack of this behaviour can lead to more complex problems in multiprocess scenarios (e.g domain mode)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (ELY-1036) CS tool, There is possibility define same option parameter more times.
by Ingo Weiss (JIRA)
[ https://issues.jboss.org/browse/ELY-1036?page=com.atlassian.jira.plugin.s... ]
Ingo Weiss updated ELY-1036:
----------------------------
Component/s: Command-Line Tool
> CS tool, There is possibility define same option parameter more times.
> -----------------------------------------------------------------------
>
> Key: ELY-1036
> URL: https://issues.jboss.org/browse/ELY-1036
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Command-Line Tool
> Reporter: Hynek Švábek
> Assignee: Ingo Weiss
>
> There is possibility define same option parameter more times. It doesn't matter if some short/long form or combination there is used first occurrence in command.
> Command with two option "add" and "secret".
> {code}
> [hsvabek@localhost bin]$ java -jar wildfly-elytron-tool.jar credential-store --add myalias --secret supersecretpassword --location="test.store" --uri "cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS" --password mycspassword --summary --salt 12345678 --iteration 230 --add alias2 --secret secretValue2
> Alias "myalias" has been successfully stored
> Credential store command summary:
> --------------------------------------
> /subsystem=elytron/credential-store=test:add(uri="cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="MASK-uNWeyrmbByBEjgZM1FAPQW==;12345678;230"})
> {code}
> *Same for "mask" command.*
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months