Open jbrunclik opened 4 years ago
what does java -jar eclipselink.jar
(or log) say about eclipselink version being used?
Based on pom.xml I think we are using version 2.7.3. But based on our investigation, code in master is exactly the same, so it should not matter.
the same class exists also in older versions where the code is different. How is one supposed to know the one in use without asking? Btw thanks for additional details
When we try to use certain passwords which resemble a hex string to access a PostgreSQL database, EclipseLink bails out with the following exception:
Examples of passwords causing the above behavior are:
a886b813257a63705fc8aad316e0fabd31808c2cdb79570b2f17c1f4e1e9f380
a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0
It looks like catching
java.io.StreamCorruptedException
in thedecryptPassword
function could help to achieve the desired result (i.e. using the password as a literal string rather than trying to decrypt it).