Releases/FeatureEncryptedFilesystems

From FedoraProject

Jump to: navigation, search

Contents

Encrypted Filesystem Support

Summary

Allow users to encrypt filesystems.

Owner

Current status

Complete

Must Fix

Should Fix

Detailed Description

Support the use of encrypted filesystems for anything other than /boot using cryptsetup and LUKS. This includes install time creation/configuration, as well as integrated support in mkinitrd and initscripts (others?). Currently we are only pursuing support for encrypted devices using cryptsetup/LUKS.

Benefit to Fedora

Users get the added security of having their personal data encrypted. This is of particular importance for laptop users.

Scope

The following packages must be modified:

Test Plan

User Experience

Santiago wants to protect the personal data on his laptop from physical theft.

Taru works in an IT department that supports laptops. She wants to be able to deploy a Fedora installation with encrypted root, swap and home partitions.

Dependencies

Several bugs have been referenced above. (current status)

Contingency Plan

Disable the encrypted device support code in anaconda.

Documentation

Release Notes

Installing to encrypted volumes (including the root) should now be supported. There is no configuration tool for adding/removing keys from volumes at a later time or otherwise doing modification of the encryption.

Notes

There are several potential techniques for obtaining a root filesystem key. These techniques include:

1. Nash can prompt for the password. 2. Both the key and boot partition can exist on a removable USB device; see Bugzilla #124789, Comment #58 and Linux Journal's Encrypt Your Root Filesystem . 3. Nash can prompt for a password that is used to unlock a certificate containing the key to use. 4. The key can be secured with using a TPM chip. This raises the problem of dealing with a TPM chip that breaks. Also, an alternate technique must be provided that does not require TPM hardware.

Note that it may be possible to store keys for non-root encrypted filesystems on an encrypted root filesystems. This ensures that a user only needs to enter one key to unlock any number of encrypted filesystems. The /etc/crypttab support in Fedora already supports this.


Sophisticated Key Management

Not neccesary for first implementation but aspects to keep in mind while designing the first implementation.

Empiric rules (obeying them makes life easier in the long run):

Corporate and Government Use

The ability to create and use encrypted partitions, logical volumes and filesystems during installation (i.e., to encrypt everything but /boot) eases creating a fully enrypted OS installation. This is important for many notebook users. In some environments encryption is mandatory.

Of note, the U.S. Government seems interested in widespread use of encrypted disks on laptops. See Protection of Sensitive Agency Information and U.S. Government Contracts 10 Vendors to Secure Mobile Data .

Cryptographic Filesystem Techniques

Preferred Technique

After getting input from our sales and consulting teams dm-crypt is the preferred encryption method. Different encryption for each users homedirs on server machines isn't required as access to others users homedirs can be restricted by setting permissions, acls and so on. dm-crypt can do everything that's required on single user systems such as laptops.

Other Techniques

Thanks

Many thanks to Florian v. Samson, BSI for the excellent input.