Article 58VMQ Embed dmcrypt keyfile into Linux kernel?

Embed dmcrypt keyfile into Linux kernel?

by
finalturismo
from LinuxQuestions.org on (#58VMQ)
Ok guys so i have a software project iam trying to protect against beta testers.

I have encrypted the drive with luks and iam using the key files to decrypt the system at start. The problem is the key file must be on an unencrypted device for auto boot to work. anyone could take this key file to chroot into the system...

So i was thinking how can i get the key file to be protected and still be used to unlock the system at start.

The only thing i can think of is to include the key file into the kernel before the kernel is compiled.

Or somehow make it so it cannot be extracted from initramfs?latest?d=yIl2AUoC8zA latest?i=lp_NFy3thNo:1jTQEPgNqrY:F7zBnMy latest?i=lp_NFy3thNo:1jTQEPgNqrY:V_sGLiP latest?d=qj6IDK7rITs latest?i=lp_NFy3thNo:1jTQEPgNqrY:gIN9vFwlp_NFy3thNo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments