hi!
We are planing AS2 communication integration and now testing some products.
So I am trying mendelsons free AS2 demo against a stupid socket listener to make some easy checks.
I think I have a problem in sending from mendelson to a configured partner (my listener). I have enabled base64 encoding in the configuration-sheet of my listening partner in mendelson-dialog.
But the stream I get is not base64 encoded (also mime-type is not set to base64).
My listener is only able to validate base64.
Is this a bug??
Perhaps somebody has an idea?
thanks
br,
chris
as far I tested, it will send no base64 if encryption is configured. only signing or no-sign/no-crypt will produce a base64 output.
mhm....?
Chris,
What you set up there is the content transfer encoding of the MIME parts, it does not mean that the whole data is transfered in base64. It is only transfered in base64 for the case "unsigned-unencrypted" because in this transfer mode no MIME structure is used in AS2.
I just made a test against the mendelson test server and it looks fine? You will see the base64 content of the MIME parts after unencrypting the data.
Regards
Heller
ah ok, thanks for info!
I have connected the openssl-tool after my listener to get unencrypted content for verification. I'm sure openssl it is able to decrypt base64.
I will see if it can handle binary encrypted data too.
thanks!
Hello Chris01,
Yes, OpenSSL can ;-)
I have used the following in the past:
openssl rsautl -decrypt -inkey "pair-of-keys.pem" -in "encrypted.bin" -out "decrypted.txt"
/Patrice
http://www.babelabout.com/about.html