[dm-crypt] linux luks automatic boot with keyfile (INSECURE)

Arno Wagner arno at wagner.name
Fri May 25 10:11:49 CEST 2012


Hi,

encryption is not your solution here. Basically, you can do some 
kind of obfuscation or DRM, but they are all relatively easy to 
break. There really is no good solution for this, although
a lot of people are unable to understand that fact.

My advice is to do without protection. Software will always be
easy to copy. 

Arno


On Fri, May 25, 2012 at 03:29:14AM +0100, Nuno Reis wrote:
> Good morning.
> 
> I would like to ask you about the best choice to have one or two luks
> encrypted partitions to boot automatically between reboots without me to
> enter a pass-phrase.
> I've made this already, but the way i'm doing it seems to be not very
> secure since the keyfile is referenced in /etc/crypttab and the keyfile and
> /etc/crypttab both reside on an unencrypted partition. If someone clones my
> HDD and connect it to some other system will easily be able to mount the
> unencrypted partitions and find the keyfile reference on /etc/crypttab to
> get the keyfile and unencrypt the protected partitions right?
> So basically my problem is that i want to sell a linux server with some
> software i've developed to a datacenter (as an appliance), but i don't want
> them to get to my software easily and i can't have a password prompt
> between reboots also.
> Can you point me out what you think would be the best solution for me?
> Thanks.
> 
> BR,
> Nuno.

> _______________________________________________
> dm-crypt mailing list
> dm-crypt at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt


-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno at wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
One of the painful things about our time is that those who feel certainty 
are stupid, and those with any imagination and understanding are filled 
with doubt and indecision. -- Bertrand Russell 


More information about the dm-crypt mailing list