tomee-users mailing list archives

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

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(String.java:1937)
        at org.apache.openejb.cli.MainImpl.processSystemProperties(MainImpl.java:211)
        at org.apache.openejb.cli.MainImpl.main(MainImpl.java:65)
        at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:103)


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


Regards
kp

Mime
View raw message