I have a wallet backup that's encrypted and I have the password, but when I run this:
openssl enc -d -aes-256-cbc -md md5 -a -in bm2 > bitcoin-wallet-decrypted
and enter my password, I get this:
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
bad decrypt
140513103832384:error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:../crypto/evp/evp_enc.c:599:
I do not know why. So I ran this:
cat bitcoin-wallet-decrypted | tr -cd "[:print:]" | awk '{print $1}'
then the output is
org.bitcoin.production
I haven't been able to figure out what I am doing wrong, please any help will be greatly appreciated.