[teiid-issues] [JBoss JIRA] (TEIID-2952) Crypto exception with client/server running on different java versions

Steven Hawkins (JIRA) issues at jboss.org
Thu May 8 18:47:56 EDT 2014


Steven Hawkins created TEIID-2952:
-------------------------------------

             Summary: Crypto exception with client/server running on different java versions
                 Key: TEIID-2952
                 URL: https://issues.jboss.org/browse/TEIID-2952
             Project: Teiid
          Issue Type: Feature Request
          Components: JDBC Driver, Server
    Affects Versions: 7.7
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
            Priority: Critical
             Fix For: 8.7.1, 8.8


The DiffieHellman key generation logic varies by platform with the handling of leading 0's in the secret.  1.6 seems to strip while most 1.7 vms do not.  A related Java bug is http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8014618  which indicates Sun/OpenJDK JRE 7u17 - 8b94 are affected.

If there is conflicting handling between the client/server then approximately 1 out of 256 connection attempts will fail with a bad padding exception, since the client/server will be operating against different symmetric keys.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the teiid-issues mailing list