commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/CRYPTO-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory resolved CRYPTO-52.
--------------------------------
    Resolution: Fixed

I applied patch and changed @Before to @BeforeClass.

> 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