FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-28-2010, 07:04 PM
Sergio Belkin
 
Default Blowfish issues with somewhat big files

Hi,

I've encrypted some database dumps with

openssl bf -d -in dumpfile.bf -out dumpfile -k mykey

bad decrypt
14142:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
decrypt:evp_enc.c:325:

The weird thing is if I do the same with smaller files it can decrypt
with no problem. I use openssl-0.9.8e-12.el5 on Centos 5.4.

Please could you tell me what I am doing wrong?

Thanks in advance!



--
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-28-2010, 07:10 PM
Stephen Harris
 
Default Blowfish issues with somewhat big files

On Wed, Jul 28, 2010 at 04:04:26PM -0300, Sergio Belkin wrote:
> I've encrypted some database dumps with
>
> openssl bf -d -in dumpfile.bf -out dumpfile -k mykey
>
> bad decrypt
> 14142:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
> decrypt:evp_enc.c:325:
>
> The weird thing is if I do the same with smaller files it can decrypt
> with no problem. I use openssl-0.9.8e-12.el5 on Centos 5.4.

Is the file over 2Gb in size? A number of programs have 2Gb filesize
limits (eg "unzip"). You could, perhaps, use it as a pipe:
cat dumpfile.bf | openssl bf -d -k mykey > dumpfile

--

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 06:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org