Classification: Public mailing list activity, widely archived and searchable
On 4/5/2013 4:56 AM, Dwipin C wrote:
Classification: For internal use only
Thanks Jakob.
Do you have any pointers around "script that decodes the
Content-Transfer-Encoding" ? Is there something that is widely used ?
Just about any mime capable e-mail program or utility.
Alternatively, you could just remove the first few lines with a command
such as
tail -n +4
(Removes the first 3 lines)
Then if it was Base64 encoded apply a Base64 decoder etc.
Whatever "AS2" is, it may have documented restrictions on what encodings
you may encounter, thus making your life easier.
From: Jakob Bohm <jb-open...@wisemo.com>
To: openssl-users@openssl.org,
Date: 04/04/2013 11:02 PM
Subject: Re: Using openssl for AS2 [I]
------------------------------------------------------------------------
On 4/4/2013 9:00 AM, Dwipin C wrote:
> Classification: For internal use only
>
> Hi,
>
> I am using openssl - "OpenSSL 0.9.8e 23 Feb 2007" on Solaris. I need to
> use this to decrypt and verify AS2 messages coming in from customers. Is
> this possible ?
OpenSSL 0.9.8e is an old insecure version, please upgrade to the latest
security upgrade, either version 0.9.8y (contains only security fixes),
1.0.0k (contains 1.0.0 features and security fixes) or 1.0.1e (contains
1.0.0 features, 1.0.1 features and security fixes).
>
> I do not see a "cms" option available.
The cms command is a version 1.0.0 and later feature, upgrade to 1.0.0k,
1.0.1e or use the smime command.
>
> When I use openssl smime -verify -CAfile <ca-file> -out <output-file> ,
> the verification is successful but the output contains the Content-Type,
> Content-Transfer-Encoding and Content-Disposition Headers.
>
> How do I get around this issue ?
Just filter the result through a simple script that removes those
headers and decodes the Content-Transfer-Encoding.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org