Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6657

Improve testing of camel-crypto component

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.12.0
    • camel-crypto
    • 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.

      Attachments

        1. camel-6657.patch
          26 kB
          Colm O hEigeartaigh
        2. ecdsa.jks
          0.8 kB
          Colm O hEigeartaigh

        Activity

          People

            davsclaus Claus Ibsen
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: