All Questions
Tagged with encryption luks
122
questions
0
votes
1
answer
102
views
Managing LUKS encrypted swap files/volumes. Manual mounting on remote dedicated servers, boot behavior, and fstab settings
I would like to setup an as simple as possible encryption at rest solution for a remote dedicated server. The host I am using will provide physical disks and there is no off the shelf solution for ...
4
votes
1
answer
398
views
Is there a way to move a LUKS-encrypted btrfs volume to the right?
I want to move a LUKS-encrypted btrfs volume to the right. GParted is telling me it knows how to move the LUKS layer to the right, but it doesn’t know how to move the btrfs layer to the right. Can I ...
0
votes
3
answers
221
views
Hard time understanding LUKS encryption
I'm reading and studying for my LPI-1 exam, when I came across LUKS for disk encryption. I found it super cool and went to try it on my home lab, in my Debian machine. Installed everything, encrypted ...
2
votes
1
answer
572
views
How to permanently delete a LUKS encrypted partition?
I have been using a LUKS encrypted partition as my /home directory on Manjaro. However, as I have to resize and move a few of my disk partitions, I would like to get rid of it. On Manjaro, I have ...
0
votes
1
answer
122
views
Converting Linux partition to crypto_LUKS
I'm currently working on RHEL 8.9 and attempting to harden a VM of mine, and looking into applying the crypto_LUKS encryption to my active partitions. When I check my partitions using the blkid ...
0
votes
0
answers
34
views
Can I dd from one opened luks container to another?
I want to migrate my encrypted data from one drive to another. Both source and target should be encrypted. I've read in some other question, that I should create a new container, so that the superkey ...
0
votes
0
answers
239
views
How to encrypt with LUKS a live Ubuntu usb stick that has been customized with Cubic?
I'm using Cubic (https://github.com/PJ-Singh-001/Cubic) to create a custom Ubuntu. So far so good, everything is going smoothly.
However, I would like to encrypt the USB stick that contains my custom ...
0
votes
0
answers
251
views
Unable to unlock luks from crypttab or key-file
My home is stored in a luks partiton whose passphrase is stored on a usb key.
I have been using this setup for a few years and my home usually unlocks itself at boot from the following crypttab :
user@...
1
vote
0
answers
834
views
Reset password of an unlocked LUKS encrypted drive
I have a machine running Pop!_OS 22.04 LTS, with an encrypted drive using LUKS encryption.
The machine is running and the drive is unlocked. However, I forgot the passphrase to the drive.
I tried ...
1
vote
1
answer
1k
views
How can I authenticate LUKS encryption, on boot, with Yubikey, on KDE Neon 5.27?
I have a LUKS encrypted drive on Kdeo Neon 5.27. The LUKS password is long and tedious to type in. Given how much KDE reboots, I'm tired of typing in my password so I bought a Yubikey to speed up the ...
1
vote
0
answers
469
views
When mounting luks-encrypted disk-containers remotely, how to recover from loss of connection?
I keep sensitive data encrypted via luks, in container files. Those files are usually stored remotely (SMB, sshfs etc).
So my current workflow is as follows:
sudo mount $remoteshare /mnt
sudo ...
0
votes
1
answer
803
views
`cryptsetup open` fails with correct passphrase - "No key available with this passphrase."
I recently ran (essentially) rm -rf / --no-preserve-root on my LUKS encrypted BTRFS root filesystem. I'm trying to mount the drive from an endeavouros (arch) liveusb, without success.
I created a ...
1
vote
0
answers
267
views
LUKS2 master passphrase in kernel keyring: Token unusable error
I'm trying to follow the documentation on how to pass a key to LUKSv2 via the kernel key ring: https://fossies.org/linux/cryptsetup/docs/Keyring.txt
This does not work for me at all:
# dd if=/dev/zero ...
1
vote
1
answer
1k
views
Other ways to login and decrypt LUKS volumen when dropbear-initramfs is installed
I'm new to this site and after searching for a couple of hours already, I couldn't find a similar topic or figure out a solution, so I'm going to ask here.
I have setup a new remote server with Ubuntu ...
0
votes
1
answer
1k
views
Extending encrypted partition (LVM, LUKS)
I'm running a dual boot (Win 10 Pro, Ubuntu 20.04) system on a single NVMe harddisk. Linux contains one encrypted root partition, an encrypted boot partition and a swap partition. As the root ...