Wondering if someone can help me with they way to use openssl or something similar. In a solaris box normally I'm doing this:
decrypt -a aes -k my.key -i mypasswd.aes.cr > /tmp/tmp.file
then modify some passwords inside the tmp file, and proceed to encrypt it again
encrypt -a aes -k my.key -i /tmp/tmp.file -o mypasswd.aes.cr
But in Linux i dont have that solaris commands, so is there a way to do the same thing on linux with same files? I tried with openssl and seems to have a lot of options and parameters. i tried with few of them, like following command:
bash-4.2$ openssl aes-128-cbc -d -pass file:my.key -in mypasswd.aes.cr -out /tmp/tmp.file bad magic number bash-4.2$
I don't know what option i need to use, too many!
NOTE:seems like mypasswd.aes.cr is based on default aes 128bits encryption
thanks in advance!