So I have this in a bash script, and it is telling me that the data was decrypted, but it is giving me something other than text. Any idea what I'm missing here?
dbpass='$AES-128-CBC$vx1X9Uho3Gc05oEfSOCx/w==$W2OtcPR28qdI0YaMYb27Ig=='
passstr=$(echo ${dbpass} | sed 's/\$AES-128-CBC\$//g')...
The only thing I have interest in right now is the ability to decode the database password. Maybe not even decode the password, just to reuse it somehow.
I'm trying to do something very similar to you. How did you decrypt the password using the secret.key file? I'm having a hard time understanding the openssl usage.