3
0
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?
have you tried using mcrypt on linux to decrypt it? – Frank Thomas – 2013-06-02T22:19:54.753
After a bit of further reading that was my first thought as well, but I'm not sure what settings I'd need to use to get it to work. – user3490 – 2013-06-03T06:55:11.800
@FrankThomas I've now tried using mcrypt on Ubuntu 12.10 but so far no luck. – user3490 – 2013-06-04T20:56:38.900