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.

601 questions
17
votes
2 answers

How to remove an unknown key from LUKS with cryptsetup?

My LUKS encrypted drive has 3 passphrases. Two of them are secure (and long), the other one is lost. However, I dimly remember that it was not up to par; it was used during experiments and should have been wiped afterwards. How can I get rid of that…
MPi
  • 2,151
10
votes
2 answers

stop crypttab asking for password for swap

I instaled a fresh 11.04 system when it was released and set up full disk encryption with LUKS. At first it asked me for a password for my three encrypted partitions: / /home swap Typing in the passphrase three times got frustrating, so I tried to…
Brad
  • 225
3
votes
1 answer

Where to find remembered luks password for USB drive

I have an external USB drive that is encrypted with LUKS. I have always let Ubuntu remember the password for me and now I have forgotten the password. The drive is automatically unlocked when I plug it in to my machine, so Ubuntu has the…
RobT
  • 81
  • 2
  • 8
2
votes
0 answers

I broke my luks disk by adding a key with the same passphrase and then removing it

This is a fun story. I wanted to change my passphrase, but I did something incredibly stupid (It was rather late and I had a pretty f***** up day/evening full of waterspouts, drunken drivers and a broken car battery). But anyway, first I…
1
vote
0 answers

Construct a LUKS partition with specified start/end sectors to recover the old one

I have an external HDD with three main partitions, Vol2 of which is a LUKS partition. I compromised the disk by installing a boot image. man cryptsetup says: LUKS header: If the header of a LUKS volume gets damaged, all data is permanently lost…
Erwann
  • 125
1
vote
0 answers

Mount error for luks image

Everything works fine until I get the error: mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/img, missing codepage or helper program, or other error. Summary: sudo cryptsetup luksOpen image.dd img Enter passphrase for…
Steven
  • 11
1
vote
0 answers

Wiping Free Space

I learnt through the web that LUKS does not encrypt free space on a disk. While installing LUbuntu and setting up LUKS I did not select the option to wipe free space on my disk.Is there any way to do it afterwards without any loss of data on the…
a2z
  • 13
1
vote
0 answers

Problem installing luks to sdb2 dual boot

Been following the instructions given in this askubuntu answer How can I install Ubuntu encrypted with LUKS with dual-boot? I can get as far as step # 7: vcreate -l 100%FREE -n mint_root vgmint When i get Logical Volume "mint_root" already exists…
tldr
  • 31
0
votes
1 answer

Is LUKS key wiped out from RAM on shutdown, hibernation and suspend?

The question is basically whether Ubuntu is protected from cold boot attacks.
0
votes
1 answer

Disable Luks decryption popup on startup

I have an external hard drive with 20+ encrypted partitions. On each startup, this pop-up floods my screen; one for each partition. My machine has limited resources so this becomes cumbersome. I know this has to be a common problem but I cannot…
tem
  • 3
0
votes
0 answers

Ubuntu 16.04 and LUKS all partition

I need to move old system (/dev/sda). Ubuntu 16.04 is LUKS partition. I would like to move the system (on /dev/sdb) so that all partitions (including /boot) are encrypted. I have already copied the system to a new disk. Now I would like to encrypt…