JDK-6682417 : JCK test failed w/ ProviderException when decrypted data is not multiple of blocks
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto:pkcs11
  • Affected Version: 6u5p,7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: generic,sparc
  • Submitted: 2008-03-31
  • Updated: 2012-03-22
  • Resolved: 2011-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u14Fixed 7 b26Fixed
Related Reports
Duplicate :  
Description
When decrypting, SunPKCS11 provider should check for CKR_ENCRYPTED_DATA_LEN_RANGE and throw IllegalBlockSizeException instead of ProviderException just as it did for CKR_DATA_LEN_RANGE during encryption operations.

Comments
EVALUATION Will fix.
31-03-2008