Fedora Linux Support Community & Resources Center
  #1  
Old 3rd January 2014, 05:41 AM
terminalid Offline
Registered User
 
Join Date: Dec 2013
Location: GMT +1
Posts: 4
linuxfirefox
How does Fedora 20 handle LUKS keys?

I want to install Fedora 20 on encrypted partitions. I have 2 drives in a RAID1 and another 3 drives that contain encrypted partitions which are parts of a singe logical volume.

(sda + sdb) --> RAID1 --> LUKS --> ext4
sdc + sdd + sdf --> LUKS + LUKS + LUKS -> LVM -> ext4

At the moment every partition has a seperate LUKS passphrase. I want to only enter one passphrase during boot. I didn't find any information on how the current fedora release manages encryption.
  1. Can fedora handle different passphrases?
  2. Should I set a common passphrase for all partitions?
  3. Should I try to setup all the partitions during installation or is there an easy way to add encrypted partitions later?
Reply With Quote
  #2  
Old 5th January 2014, 07:17 PM
terminalid Offline
Registered User
 
Join Date: Dec 2013
Location: GMT +1
Posts: 4
linuxfirefox
Re: How does Fedora 20 handle LUKS keys?

I partly found the solution myself. I manually added the same passphrase to all partitions and Fedora 20 opens all LUKS partitions after entering the passphrase once.
  1. Unverified assumption: There is no key manegement on fedoras side. It tries to open LUKS partition with the entered passphrase until it is not accepted and then asks for the next passphrase.
  2. Yes. It is then automatically reused for all the following LUKS partitions.
  3. No need to do it during installation. Adding the partitions in /etc/crypttab after installation is enough. The UUIDs of the partitions can be retrieved in /dev/disk/by-uuid/. The logical volume is automatically assembled. Only an entry in /etc/fstab to mount the logical volule is necessary.

I leave this "unsolved" because the first answer is only an assumption.
Reply With Quote
Reply

Tags
fedora , handle , keys , luks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora 13 luks pam_mount Japplo Security and Privacy 4 5th September 2010 10:06 PM
Fedora 12 + Luks geugen Using Fedora 7 22nd November 2009 10:05 PM
Interface for managing LUKS keys? joekrahn Security and Privacy 1 5th January 2009 10:44 PM
Stale NFS file handle with Fedora 10 jmbnyc Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 2 24th November 2008 04:16 AM
How does Fedora handle wireless roaming? joeljkp Hardware & Laptops 8 1st April 2005 06:47 AM


Current GMT-time: 02:35 (Sunday, 22-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat