Einführung in LUKS

Der einfachste Weg, um die Dokumente zu nutzen, die Sie mit Tails verschlüsselt, ist die Verwendung des persistenten Speichers.

You can create other encrypted volumes using LUKS to encrypt, for example, another USB stick or an external hard disk. LUKS is the standard for disk encryption in Linux.

  • The Disks utility allows you to create encrypted volumes.

  • The GNOME desktop allows you to open encrypted volumes.

Comparison between LUKS and VeraCrypt

You can also open VeraCrypt encrypted volumes in Tails. VeraCrypt is a disk encryption tool for Windows, macOS, and Linux. See our documentation about VeraCrypt.

Wir empfehlen Ihnen, Folgendes zu verwenden:

  • VeraCrypt zur gemeinsamen Nutzung verschlüsselter Dateien auf verschiedenen Betriebssystemen.
  • LUKS zum Verschlüsseln von Dateien für Tails und Linux.
LUKSVeraCrypt
KompatibilitätLinuxWindows + macOS + Linux
Neue Volumes erstellenJaAußerhalb von Tails< /td>
Vorhandene Volumes öffnen und ändernJaJa
Verschlüsselte Partitionen (oder ganze Festplatten) ¹JaJa
Verschlüsselte Dateicontainer ¹Kompliziert Einfach
Plausible Leugnung²NeinJa
BenutzerfreundlichkeitEinfacherKomplizierter
GeschwindigkeitSchnellerLangsamer
  1. Siehe den Unterschied zwischen Dateicontainern und Partitionen.

  2. Plausible Bestreitbarkeit: In einigen Fällen (z. B. bei VeraCrypt versteckten Datenträgern) ist es für einen Gegner unmöglich, die Existenz eines verschlüsselten Datenträgers technisch zu beweisen.

    Still, deniable encryption might not protect you if you are forced to reveal the existence of the encrypted volume. See VeraCrypt: Plausible Deniability.

Erstellen Sie eine verschlüsselte Partition

Choose Applications ▸ Utilities ▸ Disks to open the Disks utility.

Identifizierung Ihres externen Speichergeräts

The Disks utility lists all the current storage devices on the left side of the screen.

  1. Schließen Sie das externe Speichermedium an, welches Sie verwenden möchten.

  2. A new device appears in the list of storage devices. Click on it.

  3. Überprüfen Sie, dass die Beschreibung des Mediums auf der rechten Seite des Bildschirms Ihrem Medium entspricht: das Modell, die Größe, usw.

Formatieren Sie das Medium

  1. Click on the Drive Options button in the title bar and choose Format Disk to erase all the existing partitions on the device.

  2. In the Format Disk dialog:

    • If you want to overwrite all data on the device, choose Overwrite existing data with zeroes in the Erase menu.

      Overwriting existing data does not erase all data on flash memories, such as USB sticks and SSDs (Solid-State Drives).

      See the limitations of file deletion.

    • Choose Compatible with all systems and devices (MBR/DOS) in the Partitioning menu.

  3. Click Format.

  4. In the confirmation dialog, make sure that the device is correct.

  5. Click Format.

Erstellen Sie eine neue, verschlüsselte Partition

Nun zeigt das Schema der Partitionen in der Mitte des Bildschirms ein leeres Medium an:

Free Space 123 GB

  1. Click on the Create
 partition button to create a new partition on the device.

  2. Configure the various settings of your new partition in the partition creation assistant:

    • Im Partition erstellen Bildschirm:

      • Partition Size: you can create a partition on the whole device or only on part of it.

        In the example below, we are creating a partition of 4.0 GB on a device of 8.1 GB.

    • In the Format Volume dialog:

      • Volume Name

        You can give a name to the partition. This name remains invisible until the partition is open but can help you to identify it during use.

      • Erase

        You can choose to overwrite existing data on the partition.

        Overwriting existing data does not erase all data on flash memories, such as USB sticks and SSDs (Solid-State Drives).

        See the limitations of file deletion.

      • Type

        Choose Internal disk for use with Linux systems only (Ext4) and Password protect volume (LUKS).

    • Auf dem Bildschirm Passwort festlegen:

      • Password: type a passphrase for the encrypted partition and repeat it to confirm.

        We recommend choosing a long passphrase made of 5 to 7 random words. Learn about the maths behind memorizable and secure passphrases.

        It is impossible to recover your passphrase if you forget it!

        To help you remember your passphrase, you can write it on a piece of paper, store it in your wallet for a few days, and destroy it once you know it well.

      Klicken Sie anschließend auf die Erstellen-Schaltfläche.

    • Creating the partition takes from a few seconds to a few minutes. After that, the new encrypted partition appears in the volumes on the device:

      Partition 1 4.0 GB LUKS / Filesystem 4.0 GB Ext4

    • If you want to create another partition in the free space on the device, click on the free space and then click on the Create partition button again.

Benutzen Sie die neue Partition

Sie können diese neue Partition über die Seitenleiste des Dateibrowsers mit dem Namen öffnen, den Sie ihr gegeben haben.

After opening the partition with the file browser, you can also access it from the Places menu.

Öffnen Sie eine bestehende, verschlüsselte Partition

When you plug in a device that has an encrypted partition, Tails offers to unlock the encryption automatically.

  1. Plug in the external storage device that has the encrypted partition.

  2. A dialog appears, asking for the passphrase to unlock the partition.

    Authentication Required

  3. Enter the passphrase of the partition in the password prompt and click Unlock.

    If you turn on the option Remember Password, Tails remembers the passphrase of this partition only until you shut down. The passphrase is not stored in your Persistent Storage.

  4. After unlocking, you can access the content of the partition from either:

    • The Places menu
    • The sidebar of the Files browser

After you finished using the partition, click on the Eject button next to the partition in the sidebar of the Files browser to eject the partition safety and lock again the encryption.

Sensible Dokumente speichern

Solche verschlüsselte Laufwerke sind nicht versteckt. Eine angreifende Person im Besitz des Mediums kann herausfinden, dass sich ein verschlüsseltes Laufwerk darauf befindet. Ziehen Sie in Erwägung, dass Sie gezwungen oder hereingelegt werden könnten, dass Passwort herauszugeben.

Öffnen verschlüsselter Laufwerke auf anderen Betriebssystemen

It is possible to open such encrypted volumes from other operating systems. But, doing so might compromise the security provided by Tails.

Zum Beispiel könnten durch das andere Betriebssystem Thumbnails von Fotos erstellt und gespeichert werden. Oder die Inhalte von Dateien könnten vom anderen Betriebssystem indiziert werden.

Ändern der Passphrase einer bestehenden verschlüsselten Partition

  1. Choose Applications ▸ Utilities ▸ Disks to open the Disks utility.

  2. Plug in the external storage device that contains the encrypted partition for which you want to change the passphrase.

  3. The device appears in the list of storage devices. Click on it.

  4. Überprüfen Sie, dass die Beschreibung des Mediums auf der rechten Seite des Bildschirms Ihrem Medium entspricht: das Modell, die Größe, usw.

  5. Click on the partition displaying a Parition LUKS in the bottom-right corner.

  6. Click on the Additional partition options button and choose Change Passphrase in the shortcut menu.