tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kp.gores" <>
Subject bug with openejb cipher
Date Wed, 24 Oct 2012 09:28:01 GMT

I've found a bug with `openejb cipher` when trying to encrypt a
password. The password I used looked like a MAC address.

To reproduce the bug enter:

openejb-3.1.4/bin/openejb cipher AA-DA-AA

This throws an exception:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
String index out of range: -5
        at java.lang.String.substring(
        at org.apache.openejb.cli.MainImpl.processSystemProperties(
        at org.apache.openejb.cli.MainImpl.main(
        at org.apache.openejb.cli.Bootstrap.main(

The problem is the '-DA' in my password.


View raw message