[jboss-jira] [JBoss JIRA] (ELY-1123) WildFly Elytron Tool, Converted storage file overwrites existing file on filesystem.

Ilia Vassilev (JIRA) issues at jboss.org
Wed May 3 07:47:00 EDT 2017


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

Ilia Vassilev reassigned ELY-1123:
----------------------------------

    Assignee: Ilia Vassilev  (was: Darran Lofthouse)


> WildFly Elytron Tool, Converted storage file overwrites existing file on filesystem.
> ------------------------------------------------------------------------------------
>
>                 Key: ELY-1123
>                 URL: https://issues.jboss.org/browse/ELY-1123
>             Project: WildFly Elytron
>          Issue Type: Bug
>          Components: Credential Store
>            Reporter: Hynek Švábek
>            Assignee: Ilia Vassilev
>
> Converted storage file overwrites existing file on filesystem.
> Expected behaviour is error or some option which can enable overwriting (flag option?).
> *How to reproduce:*
> download all attachments to same location as *wildfly-elytron-tool.jar* file and then run this command twice and the each one ends with success.
> {code}
> java -jar wildfly-elytron-tool.jar vault --enc-dir . --keystore server.store --keystore-password secretsecret --location converted001.store --alias jboss --summary
> Vault (enc-dir=".";keystore="server.store") converted to credential store "converted001.store"
> Vault Conversion summary:
> --------------------------------------
> Vault Conversion Successful
> CLI command to add new credential store:
> /subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,location="converted001.store",implementation-properties={},credential-reference={clear-text="MASK-2hKo56F1a3jYGnJwhPmiF5;12345678;34"})
> {code}



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



More information about the jboss-jira mailing list