Questions tagged [dmcrypt]
24 questions
113
votes
14 answers
Mcrypt extension is missing in 14.04 server for mysql
The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says:
The mcrypt extension is missing. Please check your PHP configuration.
My current php config is here. If you need anymore information, please contact…
matthapkidokarate
- 1,257
45
votes
1 answer
Is it Possible to make "Forget password immediately" the default when opening LUKS encrypted partition?
When a LUKS encrypted partition pops up the unlock window it gives 3 options for how to remember the password. The "Remember password until you logout" is always ticked by default. Is there a way to make "Forget password immediately" the…
user308393
- 1,277
14
votes
4 answers
How does FDE (Full Disk Encryption) work so quickly?
I'm curious about how does Ubuntu's full disk encryption works under the hood. Here's an example:
Considering the following string as all the disk's content:
hello world
After applying some kind of encryption method it would look something like…
Hewbot
- 460
6
votes
2 answers
Decrypt TrueCrypt containers using dm-crypt
Is it possible to decrypt TrueCrypt containers using dm-crypt?
I have some container files created with TrueCrypt and I just wanted to know if it's possible to decrypt them using dm-crypt so I can stop using TrueCrypt and use something more…
oshirowanen
- 4,047
6
votes
0 answers
How to automatically start a service after manually decrypting /home partition
Problem:
I have a service,seafile.service, that automatically starts a Seafile server after boot. However, this service is failing to start on my Ubuntu server that has an encrypted /home partition. The service requires access to the…
Zythyr
- 161
5
votes
1 answer
Why does Ubuntu's full disk encryption require no time?
As far as I understand, the "Encrypt the new Ubuntu installation for security" option in the Ubuntu installer is meant to provide full disk encryption.
However, when using that option, it seems like as if the encryption would finish instantly, it…
nw9165-3201
- 171
5
votes
3 answers
14.10 - Swap not available
My swap doesn't seem to be working. I tried to fix it but nothing I tried worked.
Here is some relevant information to troubleshoot the problem:
During install I chose to encrypt my home folder. Seems cryptswap is being used.
When I open the…
meta221
- 325
5
votes
1 answer
What is causing my system to stall / freeze / corrupt data when using LVM + LUKS full-disk-encryption under Ubuntu Server?
Summary of Issue
After enabling the LUKS / dm-crypt full-disk-encryption option available through the Ubuntu installer, disk I/O performance is absolutely abysmal. Writing to the disk stalls / freezes the system. Data read from the disk appears to…
4
votes
0 answers
Gnome Disks is crashing when creating encrypted partition
In Ubuntu 15.10, I have a second hard-drive and I'm trying to create an encrypted partition using the included GUI for partitioning disks. But upon doing that Gnome Disks is crashing.
This is a clean install of Ubuntu 15.10. This happened to me with…
4
votes
2 answers
How to change permissions on luks-dmcrypt encrypted device?
I encrypted a device using these directions
sudo dd if=/dev/urandom of=/dev/sdb1
sudo cryptsetup -y -v luksFormat /dev/sdb1
sudo cryptsetup luksOpen /dev/sdb1 $name #change "$name" to any name you wish
#now format
mkfs.ext4 /dev/mapper/$name
sudo…
user308393
- 1,277
2
votes
2 answers
Encrypt second hard disk with same password
I installed Ubuntu 14 LTS with disk encryption (selected during installation). I have two questions:
1- What is encryption algorithm of current encrypted disk?
2- I have a second hard disk and I want to encrypt it with same algorithm and same…
Mustafa Chelik
- 121
- 1
- 6
2
votes
2 answers
DM-Crypt does not accept passphrase
The partition table is:
sda1 - /boot
sda2 - dmcrypt with LVM, containing root, home and swap volumes
Cryptsetup does not accept passphrase, that have been used for a long time and can not have any mistakes.
I tried to mount it using PXE Live…
Dinarx
- 21
2
votes
2 answers
Unexpected behavior with dd cloning a LUKS encrypted disk
I did something stupid, corrupted my main linux install, and am juggling disks to back everything up. In the process I've run into a dd and/or LUKS issue I don't know how to deal with. dd does not appear to be creating a true clone!
The original…
Kensmosis
- 141
1
vote
1 answer
How to remove all block device files that no longer have corresponding physical devices attached?
I have a /dev/dm-# block device file and a link to it from /dev/mapper/somename even after detaching the physical device.
Is it safe to just use rm on both? Is there a way to rescan physical devices and remove unneeded links in /dev/mapper? And,…
int_ua
- 8,892
1
vote
1 answer
Is Disk Utility encryption the same as dm-crypt?
I have found the following 2 minute video which shows how to encrypt a usb drive using ubuntu's disk utility app:
http://www.youtube.com/watch?v=J_g-W6hrkNA
My question is, is that method using dm-crypt, or some other technique for encrypting the…
oshirowanen
- 4,047