RE: [openssl.org #2827] Bug ? with cms option with large files

2012-06-04 Thread Frédéric Vallée via RT
It's OK, thanx a lot !!!



-Message d'origine-

De : Stephen Henson via RT [mailto:r...@openssl.org] 

Envoyé : samedi 2 juin 2012 15:06

À : Frédéric Vallée

Cc : openssl-dev@openssl.org

Objet : [openssl.org #2827] Bug ? with cms option with large files 



 [f.val...@cepisoft.net - Fri Jun 01 20:14:30 2012]:

 

 I'm using openssl.exe (last version 1.0.1) for encrypt some files with 

 Windows Seven.

 

 

 

 My command line is :

 

 openssl cms -encrypt -in c:\sc224.pdf -out c:\sc224.pkcs7 -outform DER 

 -aes-128-cbc c:\test.pem

 

 I haven't problem for small files but when i try this command line 

 with a file of 400Ko there's no error reported but the result is a 

 very small pkcs7 file.

 

 I've tried the -print option, the result file is good except in the 

 encryptedContent section who is too small to !

 



Use the -binary option too.



Steve.

--

Dr Stephen N. Henson. OpenSSL project core developer.

Commercial tech support now available see: http://www.openssl.org



__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


[openssl.org #2827] Bug ? with cms option with large files

2012-06-01 Thread Frédéric Vallée via RT
I'm using openssl.exe (last version 1.0.1) for encrypt some files with Windows 
Seven.



My command line is :





openssl cms -encrypt -in c:\sc224.pdf -out c:\sc224.pkcs7 -outform DER 
-aes-128-cbc c:\test.pem





I haven't problem for small files but when i try this command line with a file 
of 400Ko there's no error reported but the result is a very small pkcs7 file.





I've tried the -print option, the result file is good except in the 
encryptedContent section who is too small to !





Thanx a lot if you have some explanation for this issue...



Frédéric VALLEE


I'm using openssl.exe (last version 1.0.1) for encrypt some files with Windows Seven.My command line is : openssl cms -encrypt -in c:\sc224.pdf -out c:\sc224.pkcs7 -outform DER -aes-128-cbc c:\test.pemI haven't problem for small files but when i try this command line with a file of 400Ko there's no error reported but the result is a very small pkcs7 file.I've tried the -print option, the result file is good except in the encryptedContent section who is too smallto!Thanx a lot if you have some explanation for this issue...Fr?d?ric VALLEE