All Questions
Tagged with encryption luks
56
questions with no upvoted or accepted answers
5
votes
1
answer
2k
views
Reading LUKS encrypted devices under FreeBSD
I have currently Debian installed. All my external devices a encrypted LUKS devices.
Now I want to switch to FreeBSD, but my question is, is it possible to read my devices under FreeBSD?
4
votes
0
answers
390
views
What is the equivalent of Debian's "keyscript" in Fedora?
I am trying to put together a specific setup in Fedora. On boot, I should be asked for a password to unlock a keyfile located on a USB drive.
Afterwards, the system proceeds to boot normally. The ...
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 ...
4
votes
1
answer
3k
views
Open LUKS volume using key stored in kernel keyring
Has anyone managed to have cryptsetup open a LUKS volume using a passphrase stored in the kernel keyring? According to this article (see towards the bottom) it should be possible.
I have a passphrase ...
3
votes
1
answer
2k
views
How to find my LUKS encryption passphrase inside decrypted filesystem?
I have lost my encryption passphrase, however my computer is still on and I would like to know if there's a way to see my passphrase to avoid having to backup my data and reinstall.
The hard drive was ...
3
votes
0
answers
3k
views
How to mount LUKS/EXT4 disk in Windows 7?
I used the defaults in cryptsetup to create an encrypted disk with EXT4:
$ sudo cryptsetup luksDump /dev/sda # list property luks
LUKS header information for /dev/sda
Version: 1
Cipher name: ...
3
votes
0
answers
494
views
Encrypt disk volume with LUKS, enable access without passphrase
How can I set “no passphrase, and don't prompt for one” on a LUKS volume, leaving it encrypted as is?
Enabling LUKS encryption is a one-way, time-consuming operation. I need to divide the set-up of ...
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 ...
2
votes
0
answers
474
views
LUKS encrypted drive not booting after modifying partition table with TestDIsk
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 ...
2
votes
0
answers
180
views
A portable linux system with luks encryption can't boot on one of my machines
I installed opensuse on a portable SSD drive, which I can boot on several of my machines.
The installation uses luks encryption on /home and /swap partitions (ext4 filesystem).
But only when I use ...
2
votes
0
answers
882
views
How can I recover a partition after luksFormat?
How can I recover an ext4 partition after luksFormat?
It was late one night when I decided to try gnome-shell 3.16 without messing up my Ubuntu box. So, I downloaded an Antergos image and booted it. ...
2
votes
1
answer
2k
views
Move /home to a new HDD encrypt it with luks
as I'm getting more into linux, I'd like to make a few changes to my setup which seem pretty advanced to me.
But first of all let me explain my setup so you know with what you are dealing with.
This ...
1
vote
0
answers
855
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
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 ...
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 ...