2010/7/29 R P Herrold herrold@centos.org:
On largish files, on a CentOS 5, 64 bit arch, openssl seems to work fine here
[herrold@centos-5 SRPMS]$ time openssl bf -in \ freeswitch-0.0.20100729.git-1.src.rpm -out \ freeswitch-0.0.20100729.git-1.src.rpm.bf enter bf-cbc encryption password: Verifying - enter bf-cbc encryption password:
real 0m38.587s user 0m3.700s sys 0m0.568s [herrold@centos-5 SRPMS]$ time openssl bf -d -in \ freeswitch-0.0.20100729.git-1.src.rpm.bf -out \ new_freeswitch-0.0.20100729.git-1.src.rpm enter bf-cbc decryption password:
real 0m39.543s user 0m3.652s sys 0m0.792s [herrold@centos-5 SRPMS]$ md5sum freeswitch-0.0.20100729.git-1.src.rpm \ new_freeswitch-0.0.20100729.git-1.src.rpm b33eed78ec8fbccb7ef632c0c4bfe8ac freeswitch-0.0.20100729.git-1.src.rpm b33eed78ec8fbccb7ef632c0c4bfe8ac new_freeswitch-0.0.20100729.git-1.src.rpm [herrold@centos-5 SRPMS]$ ls -alh freeswitch-0.0.20100729.git-1.src.rpm \ new_freeswitch-0.0.20100729.git-1.src.rpm -rw-r--r-- 1 herrold herrold 320M Jul 29 11:00 freeswitch-0.0.20100729.git-1.src.rpm -rw-rw-r-- 1 herrold herrold 320M Jul 29 12:33 new_freeswitch-0.0.20100729.git-1.src.rpm [herrold@centos-5 SRPMS]$
As such perhaps you are overrunning a pipe, or have a problem elsewhere in the process
-- Russ herrold _______________________________________________
Thanks Russ,
Sadly I've tried the same process by hand on both ways and on different physical servers running Centos:
openssl bf -d -in $1 -out $ARCH -k $KEY
and
cat $1 | openssl bf -debug -d -out $ARCH -k $KEY > $1.unc
and either failed :(
I am taken aback...