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

learn more… | top users | synonyms (1)

6
votes
1answer
2k views

How do you encrypt and decrypt files using your keychain?

Remember this little guy over here? He's no longer with us in Ubuntu 11.10. Now, a friend's sent me an encrypted file using a public key I think I have the key fore in my keychain. How can I ...
6
votes
1answer
1k views

Auto-mounting an encrypted USB hard drive

How can you configure a headless Ubuntu server to auto-mount an encrypted USB hard drive? I found this similar question, which explains how to mount the drive from the command line, but the author is ...
6
votes
1answer
736 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?
5
votes
4answers
2k views

How to encrypt a single folder on my external hard drive? [duplicate]

I'd like to encrypt a single folder in my external hard drive. Which GUI software should I use?
5
votes
2answers
2k views

Does hibernate work with an encrypted home dir in maverick?

My machine no longer resumes properly after hibernation. However, it used to until recently. When trying to figure this out, I've seen lots of people say that hibernate doesn't work with encrypted ...
5
votes
2answers
1k views

Is there a FileVault alternative for Ubuntu

Is there a FileVault alternative for Ubuntu that I can download from the software centre?
5
votes
2answers
2k views

How to truly secure a hard-drive?

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 ...
5
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 ...
5
votes
2answers
5k 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 ...
5
votes
2answers
1k 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
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.
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
954 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
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 ...
5
votes
1answer
7k 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
1k views

Yubikey Two-factor Authentication Full-disk Encryption via LUKS

I recently acquired a Yubikey Neo - a nifty little hardware second factor authentication device. It's primarily intended for use with One Time Passwords, and the emerging U2F protocol - but since ...
5
votes
2answers
5k views

Encrypted Swap Partition for 14.04

How can I produce an encrypted Swap Partition for 14.04 ? All the advices I saw here are for versions <14.04 and do not work for me. I tried a lot but nothing lasted longer than a reboot. Is there ...
5
votes
1answer
448 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
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: ...
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
1k views

Clone encrypted HDD to smaller drive

For my work Laptop I use full HDD encryption and I need to upgrade my 500GB HDD to a 250 SSD drive, my HDD has only around 100GB of data and is created via encrypted LVM. GParted does not support ...
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
907 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
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 ...
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
356 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
9k 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
364 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
77 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
290 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
581 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
369 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
390 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
2answers
5k views

Cryptswap boot error - can't mount?

I believe i have my swap set up but am not sure because on start up it says that it is something along the lines of "could not mount /dev/mapper/cryptswap1 M for manual S for skip". But it appears to ...
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
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
4k 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
4answers
226 views

I deleted my whole ubuntu system with sudo rm *, and my home folder is encrypted with ecryptfs

I just did sudo rm * and deleted everything. (yes, I know what you think and I agree with you). My SSD is 128G, ubuntu 14.10 was installed on the full partition, using LVM and with the /home ...
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
628 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
855 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 ...