Thanks for your feedback.
I found the issue, we have had the -K option (-K 3D1) and we can decrypt it on
windows after encrypt it on unix.
If we can help someone.
Best regards.
Franck DUBUC
RESG/GTS/RET/API
Tel : +33 (0)1 64 85 70 31
e-mail : [email protected]
www.socgen.com
-----Message d'origine-----
De : Lutz Jaenicke [mailto:[email protected]]
Envoyé : mardi 10 mai 2011 19:47
À : [email protected]
Cc : DUBUC Franck ResgGtsRetApiLor
Objet : [FWD] [Bug Reports] Encrypt a file text on unix (Aix 5.3,
Aix6.0,SUN5.8,....) to decrypt on Windows Error
Forwarded to openssl users for discussion.
Best regards,
Lutz
----- Forwarded message from DUBUC Franck <[email protected]> -----
From: DUBUC Franck <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 9 May 2011 17:12:45 +0200
Subject: [Bug Reports] Encrypt a file text on unix (Aix 5.3, Aix
6.0,SUN5.8,....) to decrypt on Windows Error
Thread-Topic: [Bug Reports] Encrypt a file text on unix (Aix 5.3, Aix 6.0,SUN
5.8,....) to decrypt on Windows Error
Thread-Index: AcwOW4x3R9oL/wkLQ/+aFh+02Bwp4w==
Accept-Language: fr-FR
acceptlanguage: fr-FR
Hie,
I create a encrypted file, with openssl, on unix server to encrypted it on
windows
Version
Windows : OpenSSL 0.9.8h 28 May 2008
UNIX : OpenSSL 0.9.8i 15 Sep 2008
Command to encrypt the file on unix
/usr/linux/bin/openssl enc -e -aes-256-cbc -salt -in <<encrypted file>>
-pass pass:<<PassPhrase>>
Command to uncrypt the file on windows
c:\openssl\openssl.exe enc -d -a -aes-256-cbc -salt -in <<encrypted file>>
-pass pass:<<PassPhrase>>
Error to uncrypt it
unix to windows
error reading input file
window sto unix
bad magic number
Is it a bug or is not possible to uncrypt a file crypted on unix ?
Best regards
[http://www.socgen.com/sites/default/files/socgen_logo.gif]
Franck DUBUC
RESG/GTS/RET/API
Tel : +33 (0)1 64 85 70 31
e-mail : [email protected]<mailto:[email protected]>
www.socgen.com<http://www.socgen.com/>
=========================================================
Ce message et toutes les pieces jointes (ci-apres le "message")
sont confidentiels et susceptibles de contenir des informations
couvertes par le secret professionnel. Ce message est etabli
a l'intention exclusive de ses destinataires. Toute utilisation
ou diffusion non autorisee interdite.
Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE
et ses filiales declinent toute responsabilite au titre de ce message
s'il a ete altere, deforme falsifie.
=========================================================
This message and any attachments (the "message") are confidential,
intended solely for the addressees, and may contain legally privileged
information. Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any
of its subsidiaries or affiliates shall be liable for the message
if altered, changed or falsified.
=========================================================
----- End forwarded message -----
--
Lutz Jaenicke [email protected]
OpenSSL Project http://www.openssl.org/~jaenicke/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]