Is it possible to create a keyfile via GUI. And store it on a USB Stick. To unlock my luks HDD ?
I Want to put my USB-Stick in and the HDD should automatically encrypt. If I remove it should lock again.
I have read this LUKS + KeyFile + AutoMount? [SOLVED] thread, but i have problems with post 35.
Is there an easy way with the OMV GUI over Storage-Encyption-Keys-Add ?
If it is not possible to create it via GUI
One thing about the usb stick...many people mount the stick to get the keyfile. but there are better ways...you could place /dev/random infront of the first partition. This way no mount is needed anymore. But check the start of your usb part:
sda - USB stick / sdb - HDD (mounted both over GUI)
But not sure what i should do with the start and end sector
now i think i copy from an "random file" the key to my usb stick
What happens here ? Overwrite the same file with a skip or copy it with a skip ?
Add this keyfile to your luks header!
Add this option to crypttab entries: "x x x luks,keyfile-size=4096,keyfile-offset=512"
How can i add it in my header (i have done the luks encryption in the OMV GUI)
which entries the fstab ?
Thanks for Help