Hi

I am using openssl engine 0.9.6g on Windows XP.

I sign an html file using using smime as follows:
openssl.exe smime -sign -nodetach -signer signer.pem
-in in.html -binary -inkey signer.key -out out.p7s
-outform DER 

Then, I encrypt the signed data as follows:
openssl.exe smime -encrypt -des3  -in out.p7s -inform
DER -out out.enc -outform DER cert.pem 

Then, I decrypt the encryped data as follows:
openssl.exe smime -decrypt -recip cert.pem -in out.enc
-inform DER -inkey cert.key -out out2.p7s -outform DER


The output from the decrypt is not the same size of
the input to encrypt. Files out.p7s and out2.p7s
differ in size and contents.

I am sure I am doing something wrong here.
Any ideas what it is? I have attached my certs and a
batch file with this email.


Thanx

Himanshu Soni




__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Attachment: files.tar
Description: files.tar

Reply via email to