[jboss-jira] [JBoss JIRA] (ELY-1168) Wildfly Elytron Tool, credential-store command "add" option with --entry-type without argument value pass.
Chao Wang (JIRA)
issues at jboss.org
Wed May 31 23:57:00 EDT 2017
[ https://issues.jboss.org/browse/ELY-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414667#comment-13414667 ]
Chao Wang commented on ELY-1168:
--------------------------------
Hi [~pskopek], Is this a valid issue to you ? CredentialStoreCommand deliberately set option {{entry-type}} to have an optional argument at [CredentialStoreCommand.java|https://github.com/wildfly-security/wildfly-elytron-tool/blob/master/src/main/java/org/wildfly/security/tool/CredentialStoreCommand.java#L95], if this is valid bug, fix would be removing this line.
> Wildfly Elytron Tool, credential-store command "add" option with --entry-type without argument value pass.
> ----------------------------------------------------------------------------------------------------------
>
> Key: ELY-1168
> URL: https://issues.jboss.org/browse/ELY-1168
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Reporter: Hynek Švábek
> Assignee: Chao Wang
>
> Wildfly Elytron Tool, credential-store command "add" option with --entry-type without argument value pass.
> It seems to be little confusing. I prefer error message rather than success.
> Reason why it works now is because as a value is used default value for entry-type.
> *How to reproduce*
> {code}
> java -jar ./bin/wildfly-elytron-tool.jar credential-store --add secret_alias --create -l store123.jceks --password pass123 -x test -n
> Alias "secret_alias" has been successfully stored
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list