commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRYPTO-52) Improve assertion message when test fails due to lack of JCE Unlimited Strength Jurisdiction Policy Files.
Date Wed, 04 May 2016 19:09:13 GMT

    [ https://issues.apache.org/jira/browse/CRYPTO-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15271229#comment-15271229
] 

Bernd Eckenfels commented on CRYPTO-52:
---------------------------------------

Since I currently cant compile and therefore not recreate it I cant fix it, sorry. But I would
use assume in the very specific JCE case. That will make sure the test is skipped but not
forgotten. Failing with a specific message "your JDK must have strong JCE juristication policy
files installed" would be a other alternative.

> Improve assertion message when test fails due to lack of JCE Unlimited Strength Jurisdiction
Policy Files.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CRYPTO-52
>                 URL: https://issues.apache.org/jira/browse/CRYPTO-52
>             Project: Commons Crypto
>          Issue Type: Improvement
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: CRYPTO-52.001.patch
>
>
> {{JceCipherTest}} requires support for an AES key length of 256.  This is only available
if the runtime JDK has installed the JCE Unlimited Strength Jurisdiction Policy Files.  When
the test fails, the reason isn't clear.  We can improve this by detecting the maximum allowed
key length and showing a more descriptive assertion message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message