[teiid-issues] [JBoss JIRA] (TEIID-4576) Do not get rid of an excepiton in BasicCryptor.decrypt()

Steven Hawkins (JIRA) issues at jboss.org
Mon Nov 21 16:34:00 EST 2016


    [ https://issues.jboss.org/browse/TEIID-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13325981#comment-13325981 ] 

Steven Hawkins commented on TEIID-4576:
---------------------------------------

> Is it possible to occur the BadPaddingException on server side if the client isn't fixed?

TEIID-2952 is not really a client vs. server server issue.  It's that the respective JREs can produce a slightly different results for the secret key, which if not handled in the same way on both systems will result in this exception.  TEIID-2952 ensured that the client/server will handle leading zeros consistently regardless of what the JRE does.  So if you cannot reproduce this when using the same JRE for both or with an updated client, then it's likely the same issue as TEIID-2952.

> Do not get rid of an excepiton in BasicCryptor.decrypt()
> --------------------------------------------------------
>
>                 Key: TEIID-4576
>                 URL: https://issues.jboss.org/browse/TEIID-4576
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Common
>    Affects Versions: 8.12.6.6_3
>            Reporter: Hisanobu Okuda
>            Assignee: Steven Hawkins
>
> org.teiid.core.crypto.BasicCryptor.decrypt() disposes of an exception which is caught there, but it is necessary for investigation when an error occurs.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list