You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2013/08/21 16:11:52 UTC

[jira] [Updated] (CAMEL-6657) Improve testing of camel-crypto component

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

Colm O hEigeartaigh updated CAMEL-6657:
---------------------------------------

    Attachment: ecdsa.jks
                camel-6657.patch


A patch for this issue. The keystore should go in components/camel-crypto/src/test/resource/org/apache/camel/component/crypto.

Colm.
                
> Improve testing of camel-crypto component
> -----------------------------------------
>
>                 Key: CAMEL-6657
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6657
>             Project: Camel
>          Issue Type: Test
>          Components:  camel-crypto
>            Reporter: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 2.12.0
>
>         Attachments: camel-6657.patch, ecdsa.jks
>
>
> Please apply the attached patch which improves testing for the camel-crypto component. Existing testing only tests relatively weak algorithms. New tests for the encryption dataformat include:
>  * HMAC SHA256
>  * 3DES (ECB + CBC)
>  * AES 128 (ECB)
> New tests for the signature component include:
>  * RSA SHA-1
>  * RSA SHA-256
>  * ECDSA SHA-1
> The only source change is to explicitly change the default algorithm from "DSA" to "SHA1WithDSA". Use of the former is discouraged as it's unclear whether a hashing algorithm is included or not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira