Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
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.