Try

openssl aes-256-cbc -d -a -salt -md md5 < encrypted-file.encrypted
                                ^^^^^^^
-Dieter

On Mon, Jan 06, 2020 at 02:17:20PM +0000, Roderick wrote:
> 
> I cannot decrypt files with
> 
> openssl aes-256-cbc -d -a -salt < encrypted-file.encrypted
> 
> That I encrypted with
> 
> openssl aes-256-cbc -e -a -salt < file > file.encrypted
> 
> I get the error:
> 
> bad decrypt
> 616640944:error:06FFF064:digital envelope routines:CRYPTO_internal:bad 
> decrypt:/usr/src/lib/libcrypto/evp/evp_enc.c:527:
> 
> And it is very improvable that I forgot the password.
> 
> What I do not remember is the version of openssl and if I used
> OpenBSD or FreeBSD for encrypting. At the moment I do not have access
> to the FreeBSD machine. I tried with a modern slax-linux (in USB Stick)
> and it failed also.
> 
> I thank you for any hint.
> 
> Rodrigo

Reply via email to