Questions tagged [luks]

LUKS stands for Linux Unified Key Setup, a disk-encryption specification.

(It does not refer to Rodopi Luks cigarettes!)

LUKS logo

Further details here: http://code.google.com/p/cryptsetup/ where mention is made that for asking related questions: dm-crypt@saout.de

312 questions
38
votes
6 answers

How can I access volumes encrypted with LUKS/dm-crypt from Windows?

The answer to this question used to be FreeOTFE (https://en.wikipedia.org/wiki/FreeOTFE); sadly, the project has not been updated for three years and its website (http://www.freeotfe.org) is no longer online. Is there any software available now that…
30
votes
4 answers

How resilient are VeraCrypt and LUKS encrypted volumes against data corruption?

The question has been partly answered, but that's still not what I'm exactly looking for. See for Update 1 down bere I'm planning to encrypt some filesystems with VeraCrypt and LUKS, but my fears are that if a single problem happens, I would not be…
X.LINK
  • 2,448
28
votes
2 answers

Best order of RAID, LVM and LUKS

I am going to install a file server with Debian GNU/Linux 8. I want to have software RAID-1 using mdadm as well as encrypted disks using LUKS. I also like the flexibility of having LVM. There are different ways of doing this. One way is to: First…
Thomas
  • 455
27
votes
4 answers

How to mount an encrypted ext3 filesystem under OS X?

I know how to mount an ext3 filesystem in OS X with MacFUSE and fuse-ext2. But how can I mount an encrypted ext3 volume? I have Mac OS X 10.6 "Snow Leopard" running.
viam0Zah
  • 2,086
21
votes
3 answers

How to make suspend to RAM secure on Ubuntu with full disk encryption (LVM on top of LUKS)?

I'm on Ubuntu 13.04 using full disk encryption (LVM on top of LUKS). I would like to incorporate luksSuspend into the suspend procedure (and later use luksResume) so that I can suspend to RAM without leaving key material on memory and the root…
Jonas Malaco
  • 379
  • 2
  • 7
16
votes
4 answers

How do I determine what ciphers & cipher modes I can use in dm-crypt/LUKS?

I'm using an Ubuntu-based system, and I'm having difficulty determining what ciphers and cipher modes are available to me. The cryptsetup man page says: "See /proc/crypto for a list of available options. You might need to load additional kernel…
Emma
15
votes
2 answers

Linux LUKS and choice of filesystem

Which filesystem displays the best performance when running on a LUKS encrypted partition? Does it make sense to use f2fs when the LUKS partition is on an SSD, or does the device-mapper abstraction render f2fs's SSD optimizations useless?
15
votes
2 answers

LUKS on Ubuntu 16.04 : unknown filesystem type 'crypto_LUKS'

I'm using (L)Ubuntu 16.04. I would like to backup my files on an external hard drive (sdd) with LUKS. There was no partition (sdd1, etc.) before the cryptsetup command. #sudo cryptsetup -v --cipher aes-xts-plain64 --key-size 512 --hash sha512…
aldaron
  • 513
  • 2
  • 5
  • 7
10
votes
2 answers

Change the keyboard layout of GRUB in stage 1

I installed grub on a EFI based system. So I have the EFI partition on /dev/sdc2 and my LUKS container in /dev/sdc5. I have only one linux partition in the LUKS container. So even /boot with the stage 2 of grub is encrypted. When the system boots…
XenGi
  • 103
10
votes
3 answers

Why the results of Truecrypt and cryptsetup (LUKS) benchmarking are so different?

I want to encrypt a part of my HDD. But before that I wanted to benchmark the different algorithm available wondering if I should choose aes-xts-256 or aes-xts-512. Note: I don't have aes hardware acceleration. The benchmarks were repeated multiple…
user183734
10
votes
4 answers

TRIM support via dm-crypt/device-mapper

Getting a new laptop with SSD tomorrow. I need to know about the current status of dm-crypt and TRIM. I have seen several conflicting reports and most activity around this question seems to be > 1 year old. Some say that dm-crypt TRIM passthrough…
9
votes
1 answer

Moving a LVM/LUKS encrypted partition to the end of a harddrive?

I need to move a LUKS encrypted partition to the end of a harddrive to expand another partition. Does anyone know how to do this? Is it possible to do this with other partition editing programs? Gparted doesnt support LUKS/LVM EDIT: I wrote up a…
madmaze
  • 4,444
9
votes
1 answer

How can I use a keyfile on a removable USB drive for my encrypted root in Debian?

Recently set up root encryption with a couple of LVM volumes inside one LUKS volume, and I am just a little confused as to how I would go about getting it to automatically unlock using a keyfile stored on a USB flash drive, I presume I would have to…
naivem
  • 91
9
votes
5 answers

Does LUKS encryption affect TRIM? (SSD and linux)

I'm moving over to Linux when the new SSD arrives. SSD gives increased performance, so I thought that I could encrypt everything. But then I came to think about TRIM, and garbage collection on the drive. Will a LUKS encrypted drive affect the…
Algific
  • 1,173
8
votes
1 answer

Uefi and full disk encryption with lvm on luks

I have an ASUS machine on which I can choose between the old BIOS and the new UEFI. I've always used the old BIOS system, running a full encrypted Debian with the following configuration: An unencrypted boot partition mounted at /boot All the rest…
Egidio Docile
  • 331
  • 2
  • 4
  • 8
1
2 3
20 21