[jboss-jira] [JBoss JIRA] (ELY-1059) When I set iteration value as STRING or NEGATIVE integer then I get different error messages.

Ilia Vassilev (JIRA) issues at jboss.org
Wed Apr 5 12:27:01 EDT 2017


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

Ilia Vassilev reassigned ELY-1059:
----------------------------------

    Assignee: Ilia Vassilev  (was: Darran Lofthouse)


> When I set iteration value as STRING or NEGATIVE integer then I get different error messages.
> ---------------------------------------------------------------------------------------------
>
>                 Key: ELY-1059
>                 URL: https://issues.jboss.org/browse/ELY-1059
>             Project: WildFly Elytron
>          Issue Type: Bug
>            Reporter: Hynek Švábek
>            Assignee: Ilia Vassilev
>
> When I set iteration value as STRING or NEGATIVE integer then I get different error messages rather the same one.
> {code}
> [hsvabek at localhost bin]$ java -jar wildfly-elytron-tool.jar mask -x secret_password -s 12345678 --iteration="-123"
> ELY03025: Iteration count not specified for password based encryption
> [hsvabek at localhost bin]$ java -jar wildfly-elytron-tool.jar mask -x secret_password -s 12345678 --iteration="ab123"
> java.lang.NumberFormatException: For input string: "ab123"
> {code}



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



More information about the jboss-jira mailing list