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

Hynek Švábek (JIRA) issues at jboss.org
Tue Apr 4 11:01:00 EDT 2017


Hynek Švábek created ELY-1059:
---------------------------------

             Summary: 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: Darran Lofthouse


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