Hi,
I'm trying to encrypt a serialized java file (test.ser) using OpenSSL. I've
used the Runtime.getRuntime().exec function and i've passed to it the following
string array : {"cmd.exe", "/c", "openssl smime -encrypt...."}
(it will create a new file : test1.ser)
everything works fine. then i've used the openssl to decrypt test1.ser. it will
create new file (test2.ser). For some reasons, test2.ser is not similar to
test.ser (which must not), and test2.ser cannot be used with FileInputStream
and ObjectInputStream to be deserialized using the readObject function. (It
will fail on the construction of ObjectInputStream).
Is it a bug? Any Help???
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
Hi,I'm trying to encrypt a serialized java file (test.ser) using OpenSSL. I've used the Runtime.getRuntime().exec function and i've passed to it the following string array : {"cmd.exe", "/c", "openssl smime -encrypt...."}
(it will create a new file : test1.ser)
everything works fine. then i've used the openssl to decrypt test1.ser. it will create new file (test2.ser). For some reasons, test2.ser is not similar to test.ser (which must not), and test2.ser cannot be used with FileInputStream and ObjectInputStream to be deserialized using the readObject function. (It will fail on the construction of ObjectInputStream).
Is it a bug? Any Help???
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
