I have encrypted a file on a Solaris server using the encrypt command, with a keyfile generated via pktool (choosing AES-128 as the algorithm). I do not have access to any other encryption utilities on this server. What application(s) could I use to decrypt this file on a more generic Linux server?
EDIT:
Here are the Solaris commands I used:
pktool genkey keystore=file outkey=testkeyfile.dat dir=mydir
keytype=aes keylen=128 encrypt -a aes -k mydir/testkeyfile.dat -i mydir/myfile -v -o mydir/myfile.enc
I also ran the following to check that the file was correctly encrypted:
decrypt -a aes -k mydir/testkeyfile.dat -i mydir/myfile.enc -v -o mydir/myfile2
I suspect mcrypt is probably the way to go here, but can anyone advise on the options that I'd need to use?