All Questions
10
questions
2
votes
1
answer
10k
views
Add new LUKS passphrase or key using existing keyfile for LUKS2 encrypted partition
I have two partitions in my laptop where EFI and /boot resides on the first partition and the rest of linux directories including root resides in second partition which is encrypted with dm-crypt and ...
2
votes
2
answers
2k
views
Is there a easy way to encrypt my /home directory?
I'm running Arch Linux and would like to encrypt my personal files in my home directory /home/myusername. What is the recommended way of encrypting it? I've already read about dm-crypt and LUKS. But ...
2
votes
1
answer
6k
views
What is the default encryption key-size for dm-crypt / cryptsetup in LUKS mode?
I'm using cryptsetup 2.1.0, for which the default encryption options are (as reported by cryptsetup --help):
Default compiled-in device cipher parameters:
LUKS: aes-xts-plain64, Key: 256 bits, ...
1
vote
1
answer
2k
views
LUKS - Detached header - where is encryption key stored?
I encrypted a disk using LUKS with detached header. The header was present on a removable disk.
Once the mapped device (under /dev/mapper) was created, I removed the disk containing header. I was ...
2
votes
1
answer
2k
views
dm-crypt/LUKS, won't mount encrypted drive. Requested offset is beyond real size of device
I screwed up my partition table the other day but had recovered it with TestDisk. After re-writing the partition table, I'm able to boot up into GRUB and subsequently the interface for entering my ...
1
vote
0
answers
1k
views
dm-crypt+LUKS performance and influence on RAM usage
I'm using dm-crypt + LUKS to encrypt 3 partitions of my disc.
Recently I started wondering how does it influence my system..
I know that due to the decryption the boot time is longer, but I would ...
1
vote
2
answers
4k
views
How to recreate encrypted dm-crypt/LUKS partition with predefined UUID on Linux?
I have / and swap area of Ubuntu 14.04 LTS (and Linux Mint 17.1 LTS) encrypted in dm-crypt/LUKS. / and swap area reside in /dev/mapper/UUID_1 and /dev/mapper/UUID_2. Is it possible to recreate the /...
0
votes
1
answer
209
views
Set parameters for Linux Full Disk Encryption?
How do I change the parameters (algorithm, hash, key-lengh, block-size, IVs, mode-of-operation, key-derivation function etc.) for the encryption being used by Linux built in Full Disk Encryption (...
4
votes
0
answers
695
views
Is there a tool like dm-crypt/luks using RSA encryption?
Is there a library/tool available for linux, similar to dm-crypt/LUKS using RSA encryption instead of symmetric ciphers? I want the "public side" to only be able to create these volumes, and the ...
16
votes
3
answers
17k
views
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 ...