EldoS | Feel safer!

Software components for data protection, secure storage and transfer

AS2: unable to decrypt message

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#31291
Posted: 11/04/2014 05:50:48
by Juergen Hermes (Standard support level)
Joined: 11/04/2014
Posts: 2

Hi,

I'm evaluating the SBB AS2 components. So I am testing the AS2Sender and AS2Receiver examples (Delphi 2010 - VCL). I use an older AS2-Server (Drummond Certified) for testing the connections.
1. On both sides, at the moment, I use the same test key for encryption and signing (a 1028 Bit RSA KEY).
2. when I send a file from the AS2Sender, I get the MDN response: unable to decrypt message: Length of the data to decrypt is invalid.
3. when I receive the file with the AS2Receiver from the AS2-Server, the file is correctly decoded. But the sent synchronous MDN-Response is not understood by the AS2-server.
4. Sending the file from ASSender to AS2Receiver works.
5. On the AS2Sender tab 'I. Encode data into AS2 message' after pressing the button '8. Encode and Save Message' then +Encryption is crossed out.

Thanks,
Juergen
#31292
Posted: 11/04/2014 05:59:31
by Alexander Ionov (EldoS Corp.)

Thank you for contacting us.

2. Which encryption algorithm did you use in your test messages? Did you try to use different encryption algorithms?

3. What do you mean "not understood"? Is there any additional information on this issue?


--
Best regards,
Alexander Ionov
#31293
Posted: 11/04/2014 07:47:53
by Juergen Hermes (Standard support level)
Joined: 11/04/2014
Posts: 2

2. I tried DES and 3DES; both tested with encoding dteBinary and dteBase64.
(other algorithm are not supported by the AS2-Server)
Always same result: Length of the data to decrypt is invalid

3. It is a MDN: Warning; therefore the file is handled as not sent
But it seems to be only a result of the MDN Result:

Original-Message-ID: <06e01ba2-59d1-4ee3-95c0-4bfd93aa62e5@e0b52f83-3566-4167-8996-41099d7b47f6>
Received-Content-MIC: a9tMy/R5GiJ4JxsRy2FFZNuzSO4=, sha1
Final-Recipient: rfc822; HermesAS2
Original-Recipient: rfc822; HermesAS2
Disposition: automatic-action/MDN-sent-automatically; processed/warning
Warning: unexpected-processing-error
X-SB-Details: 10005; No transfer encoding specified for encrypted message
Warning: unexpected-processing-error
X-SB-Details: 10013; No file creation time specified
Warning: unexpected-processing-error
X-SB-Details: 10015; No file modification time specified
Warning: unexpected-processing-error
X-SB-Details: 10017; No content transfer encoding specified
#31294
Posted: 11/04/2014 07:57:12
by Alexander Ionov (EldoS Corp.)

OK. Let's continue in our HelpDesk.


--
Best regards,
Alexander Ionov
#33126
Posted: 04/24/2015 05:00:57
by Hans-Georg Backes (Standard support level)
Joined: 01/17/2014
Posts: 1

hello,

i have the same Problem, so what was the solution here ??


Best Regards
Hans-Georg Backes
#33127
Posted: 04/24/2015 05:11:06
by Alexander Ionov (EldoS Corp.)

Thank you for contacting us.

As our experience says, most often such problem can be solved by switching the value of TElAS2Message.Encryption.UseUndefSize property to a different value. I.e. if it is True now, switch it to False, and vice versa. Then create a new message and try to send it.


--
Best regards,
Alexander Ionov
#37735
Posted: 09/16/2016 09:37:45
by Justin Swanepoel (Premium support level)
Joined: 09/16/2016
Posts: 3

Hi all,

Specifically I am getting 3 of these warnings.
Warning: unexpected-processing-error
X-SB-Details: 10013; No file creation time specified
Warning: unexpected-processing-error
X-SB-Details: 10015; No file modification time specified
Warning: unexpected-processing-error
X-SB-Details: 10017; No content transfer encoding specified

I have tried setting TElAS2Message.Encryption.UseUndefSize to the opposite.
I have also quite a few other things.

Do you have any advice to resolve this issue?
#37743
Posted: 09/19/2016 06:00:45
by Alexander Ionov (EldoS Corp.)

Answered in the Helpdesk


--
Best regards,
Alexander Ionov
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 1428 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!