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

Camel-AS2 signing MDN message with SHA1 and MD5 not sha-256

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.8.0
    • 4.8.1, 4.9.0
    • camel-as2
    • None
    • Unknown

    Description

      Hi Team,

      I currently don't have a workaround for this issue and would appreciate your insights.

      In my AS2 receiver application, which uses the Camel-AS2 dependency, we receive messages with micalg=sha-256 from the sender. However verification at sender is failing though the latest 4.8.0 Camel-AS2 code is referring all possible algorithms which were not in previous versions, as shown in the attached files.

      Is there a need to add another entry in constants file with sha-256 ( - in between)
      String SHA_256_AS2_ALGORITHM_NAME = "sha-256";

      Attachments

        1. AS2MicAlgorithm-old.java
          2 kB
          RAVI
        2. AS2MicAlgorithm.java
          4 kB
          RAVI

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              raavi RAVI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: