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

learn more… | top users | synonyms (1)

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
2k 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
335 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
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
302 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
233 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
512 views

Resizing boot partition with full disk encryption

I have seen the answers to the general question regarding resizing the boot partition. In my case, I have installed Ubuntu 12.04 Alternate with full disk encryption. Since the drive can not be ...
5
votes
1answer
576 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
356 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
1answer
2k views

Find Randomart of existing ssh key

I created an ssh key with ssh-keygen, and I got this output as a result: The key fingerprint is: 84:21:3d:ab:d5:5e:05:a0:b6:ab:0f:33:af:3b:3b:82 cidr@randombox The key's randomart image is: +--[ RSA ...
4
votes
3answers
2k views

14.04 with FDE and swap is missing

Helo I have a fresh install of 14.04 on a laptop with an SSD hard drive. When installing I turned on Full Disk Encryption as well as encryption of home folder. Partitioning was left to the ...
4
votes
3answers
672 views

Filesystem that gives an encrypted view of a directory—the inverse of EncFS

Currently I'm using EncFS to encrypt my directory "confidential" to ".encconfidential" and sync that encrypted directory using an online service (e.g. Dropbox, UbuntuOne etc). However my entire disk ...
4
votes
1answer
382 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
4answers
1k 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
3answers
3k views

Which programs to encrypt files work on every system (Linux, Windows…)?

With which programs can I encrypt files that work on every system? (Linux, Windows...)
4
votes
1answer
5k 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
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
571 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
820 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
279 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
1answer
704 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 ...
4
votes
1answer
835 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
399 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 ...
4
votes
1answer
1k 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
881 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
743 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
257 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
2k 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
562 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

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 ...
4
votes
2answers
501 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
2k 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
1answer
87 views

Is it possible (and safe) to simply delete the encrypted home directory and create a new one?

I lost the passphrase for my account on a server. I have spent more time configuring the settings of the server than I have putting files in my home directory so I want to know if I can just delete ...
4
votes
1answer
2k views

WICD WPA2-PEAP connection without domain

I'm having trouble connecting to my school's wifi. It uses WPA2-PEAP and TKIP. The instructions for connecting tell me to leave the domain field blank and just enter my user name and password. This ...
4
votes
1answer
630 views

Is /home encryption useful on a server?

I've got a question about the use of encryption: I set up a Ubuntu 12.04 server to use it as a router, file server for backups and webserver. Of course, it is probably not the best idea to put ...
4
votes
1answer
14k views

How to disable encrypted home directory? [duplicate]

Possible Duplicate: How to stop using built-in home directory encryption? i know encrypted home directory is a great security function but i want tot disable it. i am using Acronis True ...
4
votes
1answer
5k views

Problems mounting an encrypted volume on a different computer

I have a set of external hard drives that I use for backups of my photos and images. They were formatted as EXT4 and setup with encryption from a laptop running Ubuntu 10.04 - and I've had no problems ...
4
votes
2answers
281 views

How do I test for TrueCrypt?

I'm fairly certain my Ubuntu 11.10 install has truecrypt for my home directory, but how can I check. Preferably without rebooting into a live disk install?
4
votes
1answer
250 views

Identical folders in home directory after decryption of home directory failed

So this morning I turned on my laptop, and everything seemed to be going fine until I logged in. All my settings were gone, back to the default desktop, default programs and everything. I did an 'ls' ...
4
votes
2answers
376 views

How do I set for XTS mode when installing ubuntu with guided setup for encrypted LVM?

I read that CBC-ESSIV is used as the default mode for LVM entire disk encryption. I want to use XTS mode instead. How do i select this when installing?
4
votes
1answer
95 views

Open several vim-encrypted files with the same password

Let's say I have three files in the same folder, a.txt, b.txt and c.txt, all of them encrypted (with Vim) with the same password ("asdf" for example). Is there a way to open the three of them entering ...
4
votes
4answers
3k views

Installing Ubuntu on native ZFS root with encryption

I'm trying to install Ubuntu with a native ZFS root filesystem on top of an encrypted partition. The device setup is as follows: The physical disk is partitioned into a small boot partition and the ...
4
votes
1answer
618 views

Full disk encryption - separate home partition

How to create separate /home partition when using full disk encryption feature in the Ubuntu 12.10 installer?
4
votes
1answer
713 views

How Do I Customize the “cryptroot” Script?

I have a system where all the partitions (/, /home, and swap) are encrypted except for /boot. /boot resides in an external device which also contains a set of encrypted key files used to automatically ...
4
votes
1answer
186 views

Long passphrase for login and short password for screensaver

The situation is that: For the encrypted home directory, any passphrase less than 10 characters is useless at all. If someone physically get the harddisk, the data and the other sensitive password ...
3
votes
2answers
2k views

How to make a partition truly secure?

When I boot from an USB stick into my laptop I am able to mount and connect through chroot to the my hard drive and browse my files without a problem, while this has been something very very useful in ...