Hello,

I have later found that the fail behavior may be due to the insufficient
memory available for the target device .


I have seen that "-stream" option is added in smime application  in openssl
version 1.0.0 .


1.) Can i have the access to the change set for this particular
functionality only ( "-stream" functionality ) ? I saw their are other
bugs/issue change set  also in openssl 1.0.0 Vs openssl 0.9.8n ?
I need only this particular change set because i am running on 0.9.8a
version.

2.) Can i know what is the fixed stream size now , if any?
3.) Is it true that before "-stream" option entire in data and out  data is
loaded in memory itself ?

Regards
PK


On Wed, Oct 2, 2013 at 12:58 PM, Puneet Khunteta
<khunteta.pun...@gmail.com>wrote:

> Hello Guys,
>
> I am a newbie to this forum though I worked with the openssl code little
> while.
>
> I have faced an issue while performing encryption on a HPUX target machine
> to get a pkcs7 format output.
> I was trying the following command to perform the encryption using s/mime
> utility :
> openssl > smime -encrypt -binary -in "XYZ.eml" -out "XYZ-Enc.eml" -aes256
> "Encrypt.cer"
> where
> Encrypt.cer is in PEM format
>
> This utility works will if we have the input file data less than and
> around 1.5 MB . But fails if it exceed with 1.5 MB.
>
> In Fail Scenario, I have noticed that out file is encrypted and i can also
> decrypt it but the decrypt data is not matched with the in file data.
> Also i have noticed that in failure case out file size is always less than
> input file size.
> On the other hand, same utility works on windows target with large file
> also.
>
> I have few questions as following :
> 1.) Do smime utility have any such limitation  of size on HPUX target ?
> 2.) How can i find out that how much size of data is actually get
> encrypted ?
>
> Regards
> -PK
>
>
>

Reply via email to