You need to specify a device node for the encrypted partition, not the path 
where the device it is mounted; For the key file, add the full path. You are 
confusing devices in /dev with "normal" files and folders.
Furthermore, you most probably need root permissions to write to a device 
directly:

sudo luksAddKey /dev/hdaX /path/to/keyfile

example:
sudo luksAddKey /dev/hda4 /media/sda1/keyfile

-- 
cryptsetup luksAddKey fails on dapper
https://bugs.launchpad.net/bugs/70671
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to