All Questions
Tagged with encryption luks
122
questions
0
votes
0
answers
672
views
Kali Encrypted Persistence opens wrong device (HDD instead of USB)
I have created the encrypted live USB as per Kali documentation. I have set up encrypted persistence with cryptsetup as mentioned in the documentation. I've verified that I'm able access the partition(...
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 ...
1
vote
1
answer
2k
views
LUKS - Detached header - where is encryption key stored?
I encrypted a disk using LUKS with detached header. The header was present on a removable disk.
Once the mapped device (under /dev/mapper) was created, I removed the disk containing header. I was ...
0
votes
1
answer
549
views
Execute script as root with home folder decrypted
Is there a possibility to run a script as root on startup whilst also being able to access files in the encrypted home dir?
I know of /etc/rc.local which can execute scripts as root but since the ...
0
votes
1
answer
1k
views
cryptsetup not unlocking at boot
I have these two files:
/etc/crypttab:
cry1 /dev/sda3 none luks
cry2 /dev/sda4 /mounted/sda3/keyfile luks
/etc/fstab:
/dev/sda1 /boot ext2 ro 0 ...
3
votes
1
answer
702
views
Does LUKS encryption detect bit-rot / bit flips on HDD/SSD?
Suppose an underlying storage device has a undetected bit-flip without reporting an error.
How does LUKS react to this?
Does it detect as an error ? any kernel messages in dmesg/syslog?
Does it ...
1
vote
0
answers
229
views
LUKS keyfile lost
I lost the keyfile to open a LUKS partition.
The command luksDump tell me that there is 2 key slots, so one them is certainly a passphrase that I left after adding the keyfile. Is there a way to know ...
1
vote
0
answers
396
views
How to find corrupted files on LUKS encrypted disks by searching for unencrypted content
I have a full disk encrypted Ubuntu 16.04 system running at home on a SSD which had uncorrectable media errors and so had to be replaced.
So I used ddrescue to copy all partitions to a new SSD, and ...
1
vote
0
answers
2k
views
Dualboot Windows on existing LUKS full encrypted hdd
So, I have a HDD with data on it, encrypted. I would like to install windows (8 or 10) on the same drive (allocate some space on it from that partition, it has 500+ GB free right now. I don't want to ...
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
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 ...
1
vote
1
answer
877
views
How to unlock keyfile-protected partition where keyfile is located on a password protected partition?
I would like to automatically decrypt /dev/sdb3 at boot with a keyfile located on /dev/sda5 which is a (passphrase-)encrypted partition.
By "automatically", I mean "at boot, after being ...
1
vote
0
answers
500
views
Trying to recover encrypted partition, getting very confused
I have a LUKS/cryptsetup encrypted disk from a friend's Debian machine which would not boot. I'm trying to mount it on another Debian machine, using a USB enclosure, to recover the data or get some ...
0
votes
1
answer
3k
views
Can't open a luks encrypted partition
I have a dead linux system that can't boot now which was lvm encrypted. Now I am on a live linux system trying to recover the data on the /home partition. I have used "cryptsetup luksOpen /dev/sdb3" ...
30
votes
4
answers
22k
views
How resilient are VeraCrypt and LUKS encrypted volumes against data corruption?
The question has been partly answered, but that's still not what I'm exactly looking for. See for Update 1 down bere
I'm planning to encrypt some filesystems with VeraCrypt and LUKS, but my fears are ...