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 -
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
Possibly Parallel Threads
- ssl_key_password loaded from file: 'Couldn't parse private ssl_key'
- ssl_key_password loaded from file: 'Couldn't parse private ssl_key'
- password protected ssl key seems unsupported after update to 2.3.4.1
- dumpfile with libshout2/icecast2
- dumpfile with libshout2/icecast2