Skip to main content

All Questions

Tagged with
0 votes
1 answer
106 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 ...
Uzer's user avatar
  • 103
4 votes
1 answer
409 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 ...
schuelermine's user avatar
  • 1,337
0 votes
3 answers
254 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 ...
Gabriel Ozzy's user avatar
2 votes
1 answer
649 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 ...
Lava's user avatar
  • 31
0 votes
1 answer
157 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 ...
nxct's user avatar
  • 1
0 votes
0 answers
35 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 ...
Armin's user avatar
  • 101
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 ...
Bernard Igiri's user avatar
1 vote
0 answers
477 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 ...
tomboy64's user avatar
1 vote
0 answers
272 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 ...
performancematters's user avatar
0 votes
1 answer
205 views

Unsure if I encrypted external HDD correctly with LUKS

I followed the instruction from this page. I was unable to encrypt the the disk, but was able to encrypt its partition. I don't if it was the correct thing to do, but i did it anyway because it's not ...
lasagnahavaeri's user avatar
0 votes
0 answers
1k views

Automatic unlock of LUKS external data drive when plugged in

I have set up LUKS for an external USB HDD with two protectors: a passphrase and a file key. I would like to automatically both unlock the drive and automount when the drive is plugged in. I've set up ...
simon's user avatar
  • 457
1 vote
1 answer
4k views

LUKS with separate /home within encrypted volume

First time using full disk encryption with LUKS. Sorry for a lot of novice questions. Before using full disk encryption, I used to have separate partitions /boot, /, home which allow to to reinstall ...
Polymerase's user avatar
1 vote
1 answer
3k views

LUKS using clevis TPM2.0

Hi I'm trying to encrypt a secondary data disk. I want this disk to be decrypted during boot of my machine. I currently have RAID setup, with an LVM volume on top which is already encrypted with LUKS. ...
Tthecreator's user avatar
3 votes
2 answers
5k views

difference between passphrase and key file in LUKS

I'm trying to understand with no success the difference between a passphrase and a key file in LUKS. At first I thought they were the same thing, with the difference of a key file being a passphrase ...
kyklops's user avatar
  • 31
0 votes
0 answers
3k views

Luks "No key available with this passphrase" but seemingly at random

I've been having the strangest of experiences with my encrypted Luks volume and was hoping maybe someone could help me shed some light on it. Let me walk you through it. When installing my OS (vanilla ...
xNaXDy's user avatar
  • 1

15 30 50 per page
1
2 3 4 5