[jboss-jira] [JBoss JIRA] (ELY-1124) WildFly Elytron Tool, Vault commands with wrongly filled path to vaults should fail.

Hynek Švábek (JIRA) issues at jboss.org
Wed May 3 04:58:00 EDT 2017


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

Hynek Švábek updated ELY-1124:
------------------------------
    Component/s: Credential Store


> WildFly Elytron Tool, Vault commands with wrongly filled path to vaults should fail.
> ------------------------------------------------------------------------------------
>
>                 Key: ELY-1124
>                 URL: https://issues.jboss.org/browse/ELY-1124
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Credential Store
>            Reporter: Hynek Švábek
>            Assignee: Darran Lofthouse
>            Priority: Critical
>
> Vault commands with wrongly filled path to vaults should fail.
> Converted credential store storage file is empty but it is very confusing to see successful message and created credential storage file.
> The user might mistakenly believe that the VAULT was empty.
> *How to reproduce*
> Download *server.store* attachment to same location as *wildfly-elytron-tool.jar* file and then run these commands
> VAULT.dat is located in path which is given by --enc-dir option - we set it to wrong value.
> {code}
> java -jar wildfly-elytron-tool.jar vault --enc-dir doesntMatter --keystore server.store --keystore-password secretsecret --location converted001.store --alias jboss
> Vault (enc-dir="doesntMatter";keystore="server.store") converted to credential store "converted001.store"
> {code}
> It is created empty converted001.store
> We can omit --location option. In this case is created empty converted file with default name "converted-vault.cr-store" in path given by --enc-dir option.
> {code}
> java -jar wildfly-elytron-tool.jar vault --enc-dir doesntMatter --keystore server.store --keystore-password secretsecret --alias jboss
> Vault (enc-dir="doesntMatter";keystore="server.store") converted to credential store "doesntMatter/converted-vault.cr-store"
> {code}



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



More information about the jboss-jira mailing list