I've got a simple encrypted file with a bit of text inside. It's encrypted with des3 and I know the key. However, I can't for the life of me get it to decrypt in my kali VM. It works fine in a LInux Mint VM however. I'm at my wits end here.... What am I doing wrong?
Here's the working decryption:
user@user-virtual-machine ~/Desktop $ openssl des3 -d -in TheKeyIsInHere.des3 -pass pass:aramisthethird
GJC13 says the key is nuorjbwyldurrurykpym
user@user-virtual-machine ~/Desktop $
And here's the broken one:
root@chkali:~/Desktop/new# openssl des3 -d -in TheKeyIsInHere.des3 -pass pass:aramisthethird
bad decrypt
139786246681728:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:529:
�c]z��6z��oք��n&ΰ�Xqroot@chkali:~/Desktop/new# 
The file is the same in both cases (verified by md5sum).


0as ao. I doubt it's the same issue here, but try if you can to make sure you've cut/pasted the command rather than retyping.openssl versionon both machines is worth checking.encchanged in 1.1.0; to get old behavior on a new version specify-md md5and for new behavior on an old version-md sha256(supported at least back to 0.9.8 but not documented then).-md md5to the command, and it worked perfectly. Thanks! If you want to write an answer, I'll accept it. If not, I'll answer it myself, just so there's an answer here.