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

learn more… | top users | synonyms (1)

8
votes
8answers
7k views

How to create an encrypted partition?

I am trying to create an encrypted partition, and while I format it I get the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs). Is there any benefit of choosing one ...
4
votes
1answer
1k 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 ...
7
votes
3answers
2k views

How to encrypt folders (not in Home)? [duplicate]

Is there a way to encrypt a folder, which is not in Home (/home/user/) but even in a different partition, so only my user can access/read contained files? Alternatively, I would like to understand if ...
9
votes
2answers
7k views

How do I create an encrypted filesystem inside a file?

Recently i've found this interesting tutorial: http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/ It explains how to create an empty file, format it as ext4, and mount it ...
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, ...
1
vote
1answer
49 views

Usage of IronKey encrypted USB

I used an encrypted IRONKEY USB disk in Windows, and automatically I was asked to install the software/application for installation and used the password to access the content in it. How can use the ...
1
vote
1answer
29 views

How can I recover the password of an encrypted Home folder?

I forgot my encryption password and now can't access my laptop. I have tried using the command line to remove it, and the bootloader. The home folder is blocked by the encryption code. Is there a ...
9
votes
1answer
7k views

How do I setup an encrypted swap file?

When I installed Ubuntu, I setup an encrypted home partition. Now I have come to an issue where I am running out of memory because I haven't setup swap. How can I setup an encrypted swap file? A ...
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: ...
1
vote
1answer
60 views

SED (self encrpyting disk) is crashing on system resume

I have asked this question before (here and here ) My problem is that my Self Encrypted Disk (SED) have to NOT spin down even on suspend! I have tried this, but it did not work and the disk spin ...
1
vote
1answer
87 views

Ubuntu Suspend issue with Self Encrypted Disk [duplicate]

I have a computer with a self Encrypted Drive (a hard drive with an AES encryption chip that requires login at boot to decypher the disk, that way it is hardware encrypted which "in theory" means zero ...
3
votes
2answers
92 views

Disk Encryption vs Home Encryption

I've encrypted my disk using the Lubuntu disk encryption on installation and also used the Home folder encryption option. I wonder whether this adds security or if the home folder encryption is ...
0
votes
0answers
15 views

full disk encryption on SSD with trusty [duplicate]

I am about to install a new SSD into my laptop and I have to do full-disk encryption due to regulations where I work. Since this is a new install I can get it right from the outset. How can I install ...
0
votes
1answer
114 views

apache2 not starting automatically in Ubuntu 14.04

I have fresh Ubuntu 14.04 installation with apache2. I have noticed apache2 is not starting at the boot. I have tried to enable it with sudo update-rc.d apache2 defaults, but it still doesn't start ...
1
vote
1answer
39 views

Encrypting a whole disk

If I have a HDD which is unformatted, that is all partitions deleted. Is it possible with Ubuntu to encrypt the entire thing is there some command/program that can do that for me? I have a Netbook I ...
0
votes
3answers
78 views

how to increase swap memory in ubuntu 14.04

I have replaced windows with Ubuntu 14.04. My Windows was on drive c & I have formatted drive c with the Ubuntu but during the OS installation unknowingly I had assigned 105mb of swap memory, but ...
8
votes
3answers
3k views

How to migrate an encrypted LVM install to a new disk

I have a somewhat customised laptop install I want to move to a SSD directly, without having to reinstall Ubuntu, reinstall all the apps and make all the other changes again. The SSD is smaller, so I ...
0
votes
0answers
62 views

Ubuntu 14.10 instllation error, hdd encrypted

So I unknowingly selected the second option of installation with the encryption. I entered my password and click next. Then it said something and I hit go back then it froze. Happens so my battery ...
0
votes
1answer
50 views

Is it possible to resize/move root and encrypted home partitions in Ubuntu 14.04 without losing data? [duplicate]

There seems to be quite a few pages on how to re-partition a hard-drive without lead to loss of data. There are also pages that state that it is not possible with encrypted drives, and other stating ...
0
votes
0answers
11 views

Why is Ubuntu only using SHA1 for WDE?

I'm wondering. In times where Hardware gets faster every week and all the NSA thingies about Snowden and such, why is Ubuntu still using Sha1 when encrypting the system over the GUI (the installer) I ...
8
votes
3answers
18k views

How to change the password of an encrypted LVM system (done with the alternate Installation)?

I installed Ubuntu 11.10 with the alternate CD and encrypted the whole system (except boot) with the encrypted LVM. Everything works great as before, but I would like to change the password of the ...
3
votes
1answer
218 views

Encrypted home directory not auto mounting with .profile

I have Ubuntu 12.04 server edition with home directory encryption enabled. Logging in locally automatically decrypts and mounts my home directory and loads my zshrc. But logging in via ssh just drops ...
3
votes
1answer
393 views

how to create encrypt mount entry in /etc/mtab

I am practicing Encryption from our Community link :FolderEncryption But while doing fuserunmount command I am getting the following error.I am sure about the process . I have done as they did ...
0
votes
1answer
84 views

Is my drive encrypted? I can read encrypted partition without providing password

Please help me determine if my is drive encrypted or not, what did I do wrong? I used Ubuntu Disk Utility for creating encrypted partition and I choose encrypted partition and provided a password, ...
2
votes
1answer
2k views

Encrypted home partition + encrypted swap + working hibernate

I would like to set up disk encryption on Ubuntu 13.10 such that I have plain / encrypted /home partition encrypted swap partition working hibernation and resume As these requirements suggest, ...
1
vote
1answer
62 views

Are there any advantages/disadvantages (if any?) in running luksFormat on raw drive (sdx) vs a partition (sdx1)?

I've been setting up a few LUKS encrypted drives and noticed that I've been creating the encrypted disk directly on the 'raw'(?) drive, ie. /dev/sdb, while many examples via google are showing it ...
3
votes
3answers
4k views

Swap partition not recognized (The disk drive with UUID=… is not ready yet or not present)

I think I had an encrypted swap partition, because I chose to encrypt my home directory during the installation. I believe that's what the line with /dev/mapper/cryptswap1 ... in my /etc/fstab is all ...
1
vote
0answers
260 views

BusyBox: dropping to build-in shell: initramfs problem with encrypted hard drive

I tried to do an upgrade from 13.10 to 14.04 on my laptop. When I came back a bit later, the machine had crashed. I restarted it and it had got in a pickle halfway through the upgrade process. I did ...
0
votes
0answers
60 views

How to recreate encrypted dm-crypt/LUKS partition with predefined UUID on Linux?

I have / and swap area of Ubuntu 14.04 LTS encrypted in dm-crypt/LUKS. / and swap area reside in /dev/mapper/UUID_1 and /dev/mapper/UUID_2. Is it possible to recreate the /dev/mapper/UUID on the ...
1
vote
0answers
63 views

Xubuntu hangs after crypt setup succesfully

I have done a clean install of Xubuntu 14.04.1 on a computer with full disk encryption and LVM. It has been working just fine for about three days with no problems. Now on start up after entering ...
1
vote
0answers
36 views

Harddisk operations totally brings down my system respond time to its knees

I have massive system slowdowns during harddisk operations on my PC. My Firefox is responding slow, it gets to a extreme at times that it actually becomes a not responding program and greys out during ...
0
votes
0answers
27 views

Is there any way of preventing an encrypted folder from showing sundry file information?

I have set up an encrypted folder with EncFS and use it successfully through the terminal on ubuntu 14.04. One thing I have noticed though in the hidden encrypted folder while it does not give away ...
1
vote
0answers
36 views

Recover Headerless Encrypted NTFS File Deleted in Ubuntu

My girlfriend had shift-deleted a "Folder Lock" encrypted locker file from my NTFS external drive using her Ubuntu PC. That file has <.flka> extension with NO known file signature. As far as I ...
3
votes
1answer
924 views

What are ECRYPTFS_FNEK_ENCRYPTED files and folders for?

I've moved my home folder from an old to a new computer using this HowTo. The old machine was running Xubuntu 11.10 the new is running Ubuntu 12.04 64bit. On both machines the users where created ...
0
votes
1answer
45 views

i broke encrypted swap partition. how to bring it back?

i installed kubuntu 15.04 a while ago with encrypted home and swap partitions. everything worked as a charm but today i decided to install Kali Linux on other partition aswell (no encryption anywhere, ...
1
vote
1answer
2k views

Ubuntu 14.04 Desktop Sharing (VNC) encryptiom / auth problem

I know this has been discussed, but I can not find a permanent fix. I enabled desktop sharing, unchecked "manually approve every access", set a password, and I'm trying from the local network, or via ...
0
votes
0answers
96 views

Migration from Truecrypt to LUKS

I am looking for an alternative for True-crypt which can be used both at the disk level and with portable media. Having installed Ubuntu 14.04 ticking 'with disc encryption' enabled, it works very ...
0
votes
0answers
51 views

How do I password protect a single file [duplicate]

How do I password protect a single file so that an authorised Windows user can open it on his machine? I want to send a file to a friend who is ignorant of all things Linux. While none of the ...
1
vote
3answers
2k views

Problem connecting encrypted Buffalo external 500GB hard disk in Ubuntu 12.04LTS

I am having problems connecting my Buffalo external 500GB hard disk in Ubuntu 12.04 LTS. The HDD is password protected and when I connect it on my PC, it just shows up the CD icon on the launcher. It ...
1
vote
2answers
2k views

How to enable Hardware Encryption on SSDs like Samsung 840 EVO?

Just got Ubuntu 14.04 running on a Zotac Zbox CI320. I want to enable the Samsung 840 hard ware encryption that comes with this hard drive, but I don't know how. Is there anyone that can help me set ...
1
vote
0answers
81 views

Using hardware Encryption instead of SSL

I am using Freescale iMX6 security processor's CAAM for encryption and decryption of data. But how do I make my system use the hardware encryption instead of software? Do I have to make changes to ...
0
votes
0answers
76 views

Recovering GPT w/ encrypted partition

I have a removable HDD whose partition table became corrupted during an interrupted file transfer. The device should contain a GPT with a single ext4 partition encrypted by dm-crypt/LUKS. lsblk: ...
1
vote
1answer
55 views

GPG Key/File Naming Confusion

When managing encryption keys in Ubuntu, I created a GPG key through the CLI with gpg --gen-key. Ubuntu provides a nice little GUI for managing keys called "Passwords and Keys". It however lists keys ...
2
votes
0answers
106 views

Recover Data from Encrypted LUKS HDD

Hei, I really need help with this! Yesterday my Kubutnu wouldnt boot anymore so I booted with a Live CD and could fix the problem with this Tutorial: ...
0
votes
0answers
72 views

Creating SHA-512 password with function crypt

I want to create an encrypted password in a C program with the function crypt with the SHA-2 based hashing algorithms that are supposed to be included in the GNU C Library used by almost all Linux ...
0
votes
0answers
50 views

Crypted Ubuntu 14.04, how to increase boot partition?

I have installed Ubuntu 14.04 inside a virtual image, running on an Windows 8 Host. System is completely crypted, I guess that's why I got this error. When I start the image I get just the screen you ...
0
votes
1answer
41 views

how to encrypt a dual booted Ubuntu and win7 system

I am very new to Linux and I wanted to encrypt my newly installed Ubuntu system. Only issue is that I have a dual booted system with Win7, and when I tried to install the Ubuntu alongside with win7 it ...
3
votes
1answer
84 views

Dual boot Ubuntu and encrypted Windows 7

I have a work laptop with Windows 7 installed using Check Point Full Disk Encryption. The HDD was dying, so I installed a larger SSD and copied the contents of the old HDD over to it using dd. So far ...
2
votes
1answer
50 views

How to recover /boot overwritten by identical /boot? [closed]

I spent 6 hours on this and I've given up. I am not finding a method to recovering a /boot partition that was overwritten by an identical /boot partition. This isn't your regular average grub ...
0
votes
1answer
134 views

14.04: login loops back on itself - ecryptfs

This problem follows on from 14.04: No Auto login at User Account settings - I am administrator (see all comments) I tried to remove encryption via this link How can I enable autologin for my user ...