Questions about encryption such as home folder encryption, partition encryption and file encryption.

learn more… | top users | synonyms (1)

5
votes
2answers
976 views

Does ecryptfs-setup-private use real time encryption?

I'm trying to encrypt some sensitive files on my computer, and I'm trying to figure out what the best option is. I'm considering using ecryptfs-setup-private or a True Crypt file container. I like ...
5
votes
1answer
2k views

Using word list to brute force encrypted partition

I used the Disk Utility to encrypt an external HDD about a month ago. Now it seems that I have forgotten the password. I have formed it according to a set of rules, so I have generated a word list ...
5
votes
1answer
877 views

Mount on filesystem of type eCryptfs explicitly disallowed due to known incompatibilities

I get this error when I'm trying to do sudo mount -t ecryptfs folder1 folder2 in my home folder (encrypted by ubuntu) I tried the same command but folders at /tmp, it worked as expected. The error ...
5
votes
1answer
6k views

Recovering eCryptfs partition with ecryptfs-recover-private not working

I am trying to reinstall, but I want to backup my encrypted home first, so I booted up from a live CD, mounted the hard drive, ran sudo ecryptfs-recover-private <home directory here> and it ...
5
votes
1answer
426 views

Is my swap encrypted or not?

I chose to encrypt the home folder while installing Lubuntu 12.10 (64-bit), but after that, sometimes I get error that the system "cannot find /dev/mapper/cryptswap1 wait for mount or cancel at splash ...
5
votes
1answer
1k views

SSH remote user need to be logged in?

I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc. When I restart the server (really just Ubuntu 12.04 desktop) and I ...
5
votes
1answer
3k views

Full Disk Encryption with LUKS: auto mount second volume

TrueCrypt on Windows can auto mount volumes that use the same passphrase as the boot volume. You enter the passphrase only once. Is there a way to do this with LUKS? Background: I'm currently ...
5
votes
2answers
1k views

How to backup a system with whole disk-encryption?

What's the way to backup a system encrypted with whole disk-encryption? I mean, The total system is encrypted, not only the home folder.
5
votes
1answer
1k views

Is there a way to decrypt EPM files using Ubuntu?

The government agency I work with sends me files encrypted with epm. I have the passwords. Is there a way to decrypt these files using Linux?
5
votes
1answer
2k views

How can I check if my computer has AES-NI support?

I've heard that disk encryption works reasonably faster when CPU supports AES-NI. How can I check if my CPU supports it? Does the Ubuntus default encryption (dm-crypt) use it by default or do I have ...
5
votes
2answers
3k views

How to wipe RAM on shutdown (prevent Cold Boot Attacks)?

My system is encrypted using Full Disk Encryption, i.e. everything except /boot is encrypted using dmcrypt/luks. I am concerned about Cold Boot Attacks. Prior work: ...
5
votes
1answer
834 views

why is it a risk to clone a LUKS container?

I recently installed Ubuntu onto an encrypted partition using the LUKS+LVM combination that the 'alternate' installer offers. Now I want to create backups of my HD. From the LUKS FAQ: 6.15 Can I ...
5
votes
3answers
2k views

How do I encrypt my /tmp directory?

After reading this question about how often tmp is cleared, it would be best for our setup if tmp is encrypted. How do I encrypt it? My fstab looks like this: proc /proc proc ...
5
votes
3answers
3k views

Guide to installing a fully encrypted file system? [duplicate]

Possible Duplicate: How to create an encrypted partition? I have a little Netbook on which I want to install Ubuntu 10.10 (32-Bit) on. However, since it is a portable PC I want to ...
5
votes
1answer
1k views

How to disable hibernating?

Whereas many questions are geared towards implementing hibernation, mine is how to disable it. I've just encrypted my swap partition, and I such my system can still hibernate, but cannot resume ...
5
votes
4answers
353 views

GPG Workflow in 11.04

At work we handle the transfer of small bits of sensitive data with GPG, usually posted on a secure internal website. Until Firefox 4 was released, we used FireGPG for inline decryption; however the ...
5
votes
4answers
7k views

Mount LUKS encrypted hard drive at boot

I have Xubuntu 14.04 on a SSD device (the HOME was encrypted correctly during intallation), additionally I have a HDD with a encrypted partition with extra data which I would like to mount in ...
5
votes
1answer
2k views

Disk '______' doesn't contain a valid partition table

Having recently run through EnableHibernateWithEncryptedSwap, I now get 3 separate 'Disk doesn't contain a valid partition table' when I run sudo fdisk -l: Disk /dev/mapper/ubuntu--t10194-root ...
5
votes
1answer
336 views

MD5 hashing with salt length of 5

I'm newbie in Ubuntu and currently using it for assignment. I've checked my encrypted password at /etc/shadow folder and found that my encrypted password using MD5 encryption, but my problem is the ...
5
votes
1answer
76 views

How do I install on an encrypted disk now that there is no alternate CD?

How do I install Raring in an encrypted disk? There's no alternate CD and on regular raring CD there is no option to mount the existing encrypted partitions!
5
votes
1answer
268 views

What algorithm is used by Disk Utility encryption?

What encryption algorithm is used by the partition encryption function of Disk Utility?
5
votes
1answer
579 views

Will I be able to install Full-Disk Encryption with the Live CD installer? [closed]

I'm looking forward to installing Oneiric. But I need to have full-disk encryption. I, along with over 6,800 other Ubuntu users, have been patiently waiting for the Live CD Installer to gain the ...
5
votes
1answer
366 views

12.04 home encrypted and I have written down encryption passphrase. How to reset login password?

I set up a friend with 12.04 and he forgot his password. I encrypted his home directory and I have written down the encryption passphrase during the first boot. If he changed his password after I ...
4
votes
2answers
3k views

How do I access an encrypted home folder from a dual-boot machine?

(This might not be an Ubuntu-specific question?) When I installed 9.10, I opted to encrypt my home folder using ecryptfs, but then I discovered this locked me out of my ext3 partition when I tried to ...
4
votes
1answer
386 views

Prevent users from encrypting their home folders

How can I prevent users from encrypting their home folder on a server inside our company without removing the respective packages? Are there any policies I can enable to prevent this? Edit: the ...
4
votes
1answer
2k views

How do I move my encrypted /home to a new computer?

Hi I have a new notebook and I want to move my home data to the new computer. I think there are multiple ways of doing this copy all to a external hdd and move back on new computer do an Deja-Dup ...
4
votes
4answers
2k views

How to encrypt /var/www?

I want encrypt my /var/www folder so I and apache had access. How can I done this? I tried use ecryptfs, but my sites does not work. Please write example, or link for manual.
4
votes
4answers
6k views

Can I use gparted to resize a Truecrypt-encrypted partition?

I have an external drive with two partitions - one encrypted, the other not so. I'd like to move all the data to the encrypted partition, and then resize it to take up the whole drive. If I use ...
4
votes
1answer
8k views

How to retrieve passphrase for private key?

I generated DSA key using ubuntu. Saved the public key on remote server, such that keys are required before connecting ssh. I have forgot the passphrase for that key. How can I retrieve it?
4
votes
2answers
4k views

How to obtain a S/MIME certificate for e-mail encryption?

There are parties, e.g. enterprises, that uses S/MIME certificates for e-mail encryption. To my understanding Thunderbird has support by default for S/MIME. But I have not found a way to obtain a ...
4
votes
3answers
3k views

How to encrypt files using a cross-platform solution?

What programs can be used to encrypt files that could subsequently be decrypted on any OS? For instance, it should then be possible to easily decrypt the encrypted files under Linux, Windows, OS X, ...
4
votes
1answer
1k views

MD + LUKS + LVM will not cleanly shutdown

My setup is currently raid1 + luks on each md partition and lvm on top to stripe between the arrays. There is only one volume group with one logical volume currently. sdc ...
4
votes
1answer
2k views

Swap encryption and hibernating

I run Ubuntu 12.04 on my laptop, with an encrypted home folder + swap partition. Before I had this encrypted setup, I used to have my hibernation enabled. I found this documentation on how to enable ...
4
votes
1answer
596 views

Why is ecryptfs so slow when running du -s?

I have been using Ubuntu's encrypted home folder system for some time now and have not really noticed any slowdowns except in two specific cases. When I run du -s in my home folder, it takes several ...
4
votes
1answer
839 views

How does home folder encryption work?

Back when Ubuntu first sported home folder encryption (what, around the time of Jaunty Jackalope?), I opted in. That caused me some grief when I decided to change my login password. I found that I ...
4
votes
2answers
1k views

How does Ubuntu mount the encrypted home folder when accessing it over samba?

I'm puzzled. As far as I understand it, the user folder /home/user is encrypted with the users password. Connecting through smb to the computer does somehow decrypt the user's folder. How is this ...
4
votes
2answers
3k views

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 ...
4
votes
2answers
2k views

How do I create an encrypted growable disk image?

I don't want to encrypt my whole home directory, just my work folder. So I figured that having my work stuff in an encrypted ISO would be a good idea. How do I create an ISO? How do I encrypt that ...
4
votes
2answers
326 views

Is the lock screen secure enough to prevent “Mallory” from accessing the encrypted drive?

I use truecrypt to encrypt one of my drives and I would want to leave the computer running processes that use information of that drive while I'm not home, I've tried suspending it but everything ...
4
votes
2answers
2k views

Can ecryptfs-setup-private be made to use a 256 bit AES key (instead of the default 128 bit key length)?

ecryptfs-setup-private will by default use an AES 128 bit key. Can I make it use a 256 bit key (32 bytes key length)? Of course, I could do the whole process manually as described here: ...
4
votes
2answers
1k views

How to expand encrypted /home to second internal drive?

I have a huge number of photos, and I want to move just my /Pictures folder to a second SATA drive in my computer for performance reasons. I want everything to work as it is now, except that /Pictures ...
4
votes
2answers
799 views

Encrypting an extra partition with ecryptfs?

I have an extra ext4 formatted partition which I would like to ecrypt with ecryptfs. I have chosen not to go for home directory ecryption and having a encrypted private directory also hasn't helped ...
4
votes
2answers
448 views

Will performance be worse if I encrypt the entire Hard Drive / SDD?

If I use whole disk encryption, will I notice a drop in performance? And what about for a SSD? And I see that there is a option in my bios that enables Intel AES-NI does this have any effect on my ...
4
votes
2answers
1k views

How to resize an ext4 encrypted home partition?

Which is the best way in order to resize an encrypted (ecryptfs) ext4 home partition ? Pros nad Cons of each method are greatly appreciated. $ fdisk -l Disk /dev/sda: 256.1 GB, 256060514304 bytes ...
4
votes
2answers
568 views

What is the difference betwen creating a Private encryped folder and encrypting the whole Home directory at the time of Installation?

Which method is more preferable in which situation ? Which process poses less stress over the cpu ?
4
votes
1answer
2k views

What is the different between cryptsetup and truecrypt

I used truecrypt volume until now, because the space limitation I looked for other solution to encrypt my data. This is what I found. My question is what is the different between cryptsetup and ...
4
votes
2answers
525 views

A way for an Upstart event to be sent whenever ecryptfs homedir mounted/unmounted?

I have an encrypted homedir (ecryptfs) and I'm wanting to run a private mysql daemon with the database files in my homedir. The daemon should be started whenever the homedir is mounted, and stopped ...
4
votes
2answers
3k views

Encrypted LVM not accepting my passphrase anymore

I have Ubuntu 11.04 on Thinkpad X41 and have been using it for a couple of months. From time to time System Update used to run and show me a list of recommended updates. Finaly, yesterday I accepted ...
4
votes
2answers
3k views

Decrypt $HOME from Separate Partition after re-install

Previously, I had installed 10.10 with three partitions - sda1-/boot(ext2) sda2-/(btrfs) sda3- /home(btrfs). And I have chosen encrypted home folder. Now on same machine I have installed 10.04 (LTS) ...
4
votes
1answer
2k views

How to encrypt external devices?

I've been a Windows power user/administrator and professional tech for years, I just made the decision to go Linux, and wow, what a difference. Is there any decently easy way to encrypt external ...