Questions tagged [luks]

All questions relating to LUKS (the disk-encryption specification) for Linux

LUKS (Linux Unified Key Setup) is a disk-encryption specification written by Clemens Fruhwirth intended for Linux.

652 questions
104
votes
2 answers

How do I enable Ubuntu (using full disk encryption) to call LUKSsupend before sleeping/suspending to RAM?

This question is related to another one by @Stefan, but it is not a duplicate of it. The questions are slightly different: the author simply wanted to know if this had been implemented, while I'm asking for help specifically on how to do this (in a…
Jonas Malaco
  • 1,453
  • 1
  • 13
  • 15
103
votes
7 answers

How to change the password of an encrypted LVM system (previously alternate Installation, now advanced feature)?

I installed Ubuntu 11.10 with the alternate CD and encrypted the whole system (except boot) with the encrypted LVM. Update 2020: Encrypted LVM can be selected at the Installation type step of the Ubuntu install, click on Advanced features and choose…
Filbuntu
  • 13,891
91
votes
4 answers

How can I install Ubuntu encrypted with LUKS with dual-boot?

The Ubuntu installation disk has an option to install Ubuntu encrypted using LUKS. However, there is no option to perform an encrypted installation along-side existing partitions for a dual-boot scenario. How can I install Ubuntu encrypted alongside…
Flimm
  • 44,031
87
votes
4 answers

How to change LUKS passphrase?

Having installed Ubuntu 11.10 with whole disk encryption and LVM, I need to provide a way for users to easily change LUKS passphrase. Preferably, this should be done using GUI tools, thus, enabling novice users to perform this basic task.
ervingsb
  • 1,191
60
votes
6 answers

Can I disable full-disk encryption?

I recently installed Ubuntu 12.10 and it requires a passphrase to boot up (I installed it with an encrypted file system). Do I have to reinstall to change to a standard unencrypted file system?
Zzealdor
  • 603
49
votes
4 answers

How secure is an encrypted LUKS filesystem?

I recently installed 11.10 on a fresh disk using entire disk encryption. Can someone tell me how secure the encryption algorithm is? Has there been any recent breaches with said algorithm? I use a 36 character random passphrase so I know thats…
browep
  • 758
47
votes
4 answers

How do I get passwords from the keyring in the terminal for usage in scripts?

When you have a LUKS encrypted drive in your computer, Nautilus or Nemo will show it under Devices as a drive with a little lock on it. When you click it, you need to enter a password. If you choose to remember this password forever, it gets saved…
Redsandro
  • 3,764
45
votes
1 answer

Is it Possible to make "Forget password immediately" the default when opening LUKS encrypted partition?

When a LUKS encrypted partition pops up the unlock window it gives 3 options for how to remember the password. The "Remember password until you logout" is always ticked by default. Is there a way to make "Forget password immediately" the…
user308393
  • 1,277
42
votes
6 answers

device-mapper: remove ioctl on luks-xxxx failed: Device or resource busy

While I was away from my computer, my encrypted USB drive got accidentally unmounted somehow (although it was still physically connected at the time). I haven't been able to recover (haven't tried a reboot yet). I have now completely disconnected…
35
votes
4 answers

Yubikey Two-factor Authentication Full-disk Encryption via LUKS

I recently acquired a Yubikey Neo - a nifty little hardware second factor authentication device. It's primarily intended for use with One Time Passwords, and the emerging U2F protocol - but since Yubikey version 2 it also supports HMAC-SHA1…
seanlano
  • 3,086
34
votes
4 answers

Encrypted custom install

My computer runs Ubuntu. I want to install Ubuntu on another medium. I wish to enable encryption, yet as the ubuntu installer's default choices (erase/alongside/etc...) only concerns the default drive, I have to choose "something else" and create…
Yvain
  • 554
32
votes
2 answers

How do I automatically decrypt an encrypted filesystem on the next reboot?

Goal I am looking for non interactive way to decrypt a root file partition and a swap partition encrypted with LUKS the next time the system reboots. As well as this, I need a way to undo it after the reboot so that it after one more reboot will…
Tobias
  • 1,678
29
votes
3 answers

Mount LUKS encrypted hard drive at boot

I have Xubuntu 14.04 on a SSD device (the HOME was encrypted correctly during intallation), additionally I have a HDD with a encrypted partition with extra data which I would like to mount in /mnt/hdd. For making these I followed the next…
zeugor
  • 743
  • 2
  • 8
  • 11
27
votes
4 answers

Should I use LUKS1 or LUKS2 for partition encryption?

In the process of setting up LUKS encryption on my Ubuntu partition, I came across the --type luks2 option in the cryptsetup man pages. From what I've read, there don't appear to be any reasons not to use LUKS2, but cryptsetup still uses LUKS1 by…
Mr. Mann
  • 271
26
votes
4 answers

How to configure LVM & LUKS to autodecrypt partition?

I have recently installed ubuntu server 11.04 with the full lvm encryption(installed from the setup) . I wish now to use a key file to do automatic unlock. I have tried to follow this guide http://ubuntuforums.org/showthread.php?t=837416 I generated…
isoman
  • 689
1
2 3
43 44