You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/05/01 13:04:00 UTC
[jira] [Commented] (CAMEL-22037) camel-as2 - In AS2Receiver, line feeds are replaced by CRLF
[ https://issues.apache.org/jira/browse/CAMEL-22037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948662#comment-17948662 ]
Claus Ibsen commented on CAMEL-22037:
-------------------------------------
@jono I wonder if you had looked at this?
> camel-as2 - In AS2Receiver, line feeds are replaced by CRLF
> -----------------------------------------------------------
>
> Key: CAMEL-22037
> URL: https://issues.apache.org/jira/browse/CAMEL-22037
> Project: Camel
> Issue Type: Bug
> Components: camel-as2
> Affects Versions: 4.11.0
> Reporter: Jürgen Link
> Priority: Major
>
> We use Apache Camel AS2 libraries in our application to receive and process AS2 messages.
> Currently, we tracked down an issue where a client message's signature fails to be validated.
> It turns out that the message content contains CRLF line endings in the mime part body, while the original message has LF only.
> We were able to verify that replacement LF->CRLF is carried out in CanonicalOutputStream, which is used in AS2 implementation to marshal the signed entity in SigningUtils::isValid into a byte array.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)