FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2013
    Location
    GMT +1
    Posts
    4

    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?

  2. #2
    Join Date
    Dec 2013
    Location
    GMT +1
    Posts
    4

    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.

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •