Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1059

When I set iteration value as STRING or NEGATIVE integer then I get different error messages.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Beta42
    • None
    • None
    • None

      When I set iteration value as STRING or NEGATIVE integer then I get different error messages rather the same one.

      [hsvabek@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@localhost bin]$ java -jar wildfly-elytron-tool.jar mask -x secret_password -s 12345678 --iteration="ab123"
      java.lang.NumberFormatException: For input string: "ab123"
      

              rhn-support-ivassile Ilia Vassilev
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: