Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-06-2017, 02:50 PM   #1
Registered: Nov 2009
Posts: 130

Rep: Reputation: 9
Unlock LUKS root at boot using encrypted pendrive

As in title
The idea is:
I have 2 USB drives. Each have single partition. Partitions are encrypted to rise security that small bit. Each LUKS from USB will be eventually in RAID1 through BTRFS

So it is as follows
RAID1 via BTRFS (to protect from USB dying taking keys with it)
Single Partition
USB drive

From within BTRFS on those USB drives I want to use files to unlock root (or other file systems) at boot time using script

Basically I wish that first script would unlock those LUKS from USBs (via automated script creating passphrase from say UUID) and then load and execute script which would unlock file systems on LUKS via UUID (I do not see other viable option, as this would be used on 2-3 computers and may grow later on)

I hope I made it clear, but I doubt it, so please ask questions and if something is not entirely clear ask for clarification.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unlock LUKS encrypted root system with keyfile on USB device Märk Owen Linux - Security 7 02-10-2017 01:57 PM
How to unlock LUKS encrypted partition as normal user? pusrob Gentoo 3 04-04-2015 12:55 PM
[SOLVED] Unlock LUKS encrypted partition with USB drive yenn Slackware 4 02-26-2013 05:39 PM
[SOLVED] How to unlock (Luks) encrypted root, during boot, when key-file is on USB?? pizzar0 Slackware 2 10-22-2011 08:14 AM
LXer: Automatically Unlock LUKS Encrypted Drives With A Keyfile LXer Syndicated Linux News 0 07-09-2008 04:40 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration