PDA

View Full Version : [ubuntu] luksFormat not taking a keyfile


Deathcon_1
October 30th, 2009, 05:50 PM
I'm trying to setup luksFormat to take a key file for the hard drives using the folliwing command:
cryptsetup -c aes-cbc-essiv:256 -y -s 256 luksFormat /dev/sda file.key only it fails with a strange error:
"Command faied: Can't do passphrase verification on non-tty inputs"

It works if I use a password but for obvious reasons I want to use a keyfile. I've setup cryptsetup's before so this isn't my first time setting them up. Any ideas?