You are not logged in.

#1 2009-08-10 19:12:10

Berticus
Member
Registered: 2008-06-11
Posts: 731

hidden or visible luks key?

I've been debating whether or not to make my luks key visible on my usb drive. The disadvantage of having it visible is anybody could edit it, and I wouldn't be able to get back onto my pc. On the other hand, if it's hidden (stored between mbr and first partition), and the usb key becomes corrupt or destroyed, I would lose the key. Then again, that would happen with a visible file as well... Also, since it's the Corsair Survivor, I'm hoping the likelihood of it being physically destroyed has been minimized.

In any event, I'm still trying to debate which one I want to do. Am I overlooking something that could convince me to go with either method?

Last edited by Berticus (2009-08-10 19:12:24)

Offline

#2 2009-08-10 19:22:09

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: hidden or visible luks key?

I would personally have it hidden, but also have it backed up somewhere.

Offline

#3 2009-08-11 01:31:21

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: hidden or visible luks key?

IIRC, you can set more than one concurrent password with luks. Use a hidden key but set a "manual" password in case your usb key becomes corrupt.


(lambda ())

Offline

#4 2009-08-15 14:22:44

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: hidden or visible luks key?

Thanks for the suggestion. Also, how do I determine the offset?

Offline

#5 2009-08-16 07:15:28

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: hidden or visible luks key?

What kind of offset ?

Offline

#6 2009-08-16 13:05:39

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: hidden or visible luks key?

http://wiki.archlinux.org/index.php/LUK … _partition

Now you have to add a kernel parameter in your menu.lst (Grub), it should look something like this:

kernel /vmlinuz26 root=/dev/hda3 ro vga=791 cryptkey=/dev/usbstick:2048:2048

Format for the cryptkey option:

cryptkey=BLOCKDEVICE:OFFSET:SIZE

I also have grub on the mbr

Offline

Board footer

Powered by FluxBB