Questions tagged [encryption]

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

Filter by
Sorted by
Tagged with
11 votes
3 answers
761 views

Will an external HDD encrypted with 17.10 be accessible with 18.04 after an upgrade?

I'm currently on 17.10 and don't use encryption on my internal drives but have an external USB disk which is encrypted. I use it for backups. Because I am was not sure whether I use ecryptfs or ...
0 votes
1 answer
31 views

How to Increase the size of my Root Logical Volume in a partition?

I had to encrypt my Ubuntu for my job, but I also had to keep my dual boot due to some softwares that I absolutely need and can only run on Windows. With that, I followed the instructions from here ...
0 votes
1 answer
86 views

hard drive encryption

I have upgraded my ubuntu version and now when I start the PC it does not accept anymore the password for the hard drive encryption What can I do? thanks francesco
0 votes
1 answer
377 views

How to make Ubuntu decrypt the specific directory?

From the nautilus context menu, I have right clicked on /home/myaccount/www/somefolder, then I have clicked on Encrypt Folder. Now I would like to decrypt the folder. How can I do this? "Decrypt" ...
0 votes
1 answer
481 views

Will the KVM enabled kernel work with LUKS whole disk encryption on 18.04?

I have got a fresh installation of 18.04 with the whole disk encryption (LUKS) enabled. This works fine, but when I try to install a KVM enabled kernel (package linux-kvm), then I am unable to boot ...
5 votes
3 answers
3k views

Can't access my encrypted home folder

My problem is the following: I decided to do an apt-get dist-upgrade. At first it said that it had to remove a lot of programs, which seemed a little suspicious, but I trusted the upgrade system. I ...
0 votes
1 answer
79 views

Non techy person looking for advice on how to watch DVD on Ubuntu laptop [duplicate]

I've been directed here from another forum. Looking for help! First, I'm based in the UK. My boyfriend (who lives overseas) installed Ubuntu on my laptop a while back because he hates Windows and ...
2 votes
2 answers
2k views

Ubuntu 18.04 clevis decrypt of secondary disk

Running Ubuntu 18.04 with an unencrypted root volume. For what I need this to do, that's fine. But I need to mount and decrypt secondary disks. Following Red Hat's directions here since every google ...
7 votes
2 answers
9k views

How do I auto-mount LUKS partition?

How do I automount a LUKS encrypted partition in a secure way? Ideally either when I log on (and therefore my password in at the log in screen), or once I get to desktop have Ubuntu ask for my ...
107 votes
5 answers
88k views

When installing I'm given the option of encrypting my home folder -- what does this do?

Does encrypting my home folder make my computer more secure? Do I have to enter my password more if my home folder is encrypted? What else should I know about encrypting my home folder?
4 votes
0 answers
1k views

Error while encrypting a file with gpg -c filename

After installing gpg, when I tried to encrypt a file using it I am getting below error. gpg -c test.sh gpg: cancelled by user gpg: error creating passphrase: Operation cancelled gpg: symmetric ...
0 votes
2 answers
2k views

How can I recover the passphrase (not the password) of sda5_crypt

I have a partition encrypted with sda5_crypt, where I need to input a password on boot to unlock the partition. I have the password and I login normally. But I need the passphrase for recovery to save ...
0 votes
0 answers
90 views

How to write kernel scripts for startup security

I'm trying to learn about the boot procedure when dealing with LUKS encrypted partitions (specifically, when root is encrypted still) so that I can implement custom decryption routines (for example: ...
1 vote
0 answers
549 views

Debootstrap on luks encrypted system: initramfs problem

since I don't have any external storage I tried to install the new ubuntu version from an already existing system (on a different partition). So I created an encrypted storage and created a vg and two ...
0 votes
1 answer
76 views

Automatic, but secure encrypted mount on Linux from CLI

This is so specific... I'd like to be able to remotely log-in to a server. When it first boots it would run a script or set of instructions to contact an external server based upon network-hook (...
1 vote
0 answers
191 views

Encrypted swap not working after upgrade from 14.04 to 16.04

free command tells there is zero swap. /etc/fstab has line /dev/mapper/cryptswap1 none swap noauto,sw 0 0 cat /etc/crypttab tells (in one line) cryptswap1 UUID=27a623c7-9621-4649-8a20-...
1 vote
1 answer
106 views

Encrypted version of cleartext file system [duplicate]

I have a file system mounted on /srv, that is unencrypted. This is perfectly fine; the local systems are trusted. However, I want to perform backups with Jottacloud, which does not support ...
3 votes
1 answer
4k views

I can't write (only read) on USB device encrypted with Bitlocker

I installed Bitlocker/Dislocker on my Ubuntu 18.04 to access my USB pen-drive, that is encrypted with Bitlocker, according to Use (Windows) BitLocker-encrypted drive on Ubuntu 14.04 LTS. It works ...
15 votes
3 answers
17k views

How to use ecryptfs with a non-home directory

I would like to use ecryptfs to encrypt a random directory (i.e., not my home directory or a subdirectory thereof, principally due to disk space limitations on my home partition) and mount that ...
4 votes
0 answers
1k views

Full Disk Encryption and Custom Partitioning on Ubuntu 18.04

How can I use Full Disk Encryption (LUKS) with a custom partition scheme on Ubuntu 18.04? Full Disk Encryption seems to be allowed on installation only if the option "Erase Disk and Install Ubuntu" ...
0 votes
0 answers
730 views

dual boot encrypted ubuntu with Windows 10 separate disks

I have two hard disks (SSD) with Win 10 on one. I did have ubuntu 16.04 on the second (fully encrypted LVM) but after a Windows update, I no longer have access to the grub loader. Ideally I would ...
5 votes
1 answer
4k views

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 ...
1 vote
0 answers
83 views

ReInstalled Ubuntu mounted to same /home partition, How to Access the Old User Home Folders?

So my 16.04 recently crashed due to user error. I decided to update to a newer version of Ubuntu. I went for 18.04 but ran into the usersetup error 141. Apparently when mounting to an old home ...
0 votes
2 answers
1k views

Why during install ubuntu can't make a smaller encrypted partition rather than Full Disk Encryption?

I have a 1000GB hard drive, I just want to install (k)Ubuntu with encryption on the first 100GB of the HD. however, I only have the option of full disk encryption : why ?? if I choose "custom" or "...
1 vote
0 answers
334 views

LUKS crashes utility, command line doesn't provide encryption, alternative GUI applications are too slow

TLDR: I'm trying to encrypt my hard drive, half of universe failed. What is a straight-forward command towards encrypting target device (e.g. /dev/sdb1) with a "target" password (e.g. "password123")....
3 votes
2 answers
2k views

UEFI Booting With Encrypted /boot On Ubuntu 14.04 LTS

I have managed to get FDE (Full disk Encryption) working quite happily on an MBR/BIOS system using a DOS partition table, I only have /dev/sda1 and /dev/sda2 for the swap and root LUKS containers ...
1 vote
1 answer
195 views

How to replicate multi-user encrypted automount home folder setup to second hard disk?

I have an Ubuntu 17.10 laptop, with users A and B. There are encrypted home directories /home/A and /home/B for the two users. These are set up using Ubuntu's default encrypted home directory ...
1 vote
0 answers
483 views

c# Connection to server using CLI services and mono, permissions denied

I am developping an application that give a real time diagnosis of my working servers and of the services I am using on these server. First of all I created a C# application on an individual remote ...
0 votes
1 answer
1k views

Kubuntu, Cryptsetup Failed after initial install. Password is correct

i've researched google and other fourms for answers and find old and outdated information. I just attempted Kubuntu install on a 2nd computer (Acer Aspire | M) for testing it before I make the ...
1 vote
0 answers
2k views

Ubuntu 18.04 and after-install luks encrypted home partition - cant load OS

I deployed Ubuntu 18.04 on my laptop with home folder in separate partition (/home is /dev/sda6) After installation I wanted to encrypt my home partition, for that I followed this guide to encrypt it....
1 vote
1 answer
155 views

SSD Corrupted Due To SWAP Space [closed]

I Have a brand new high speed mSD card perfect for LVM-FullDisk-Encryption. Problem is, Non-Volitile SolidState memory has a finite amount of write cycles that will rapidly decrease at an alarming ...
8 votes
4 answers
17k views

Full Disk Encryption Passphrase at Boot: Keyboard not working

I have upgraded my System with full disk encryption from 14.10 to 15.04, and now i'm not able anymore to input my passphrase at boot and therefore can't access my system anymore. Strangely it worked ...
1 vote
0 answers
2k views

Resize full disk encryption in Ubuntu 18.04

I have installed ubuntu on my 1Tb main HDD and enabled the full disk encryption. Now I need to add dual boot windows 10. How can I "chop off" / reclaim some disk space (lets say 100Gb) to install ...
5 votes
4 answers
4k 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?
0 votes
2 answers
134 views

"Hidden, superfluous data" because of improper mounting of home directory

What happened: My 500GB harddrive on my DELL XPS13 kept running out of space very quickly - and the problem kept occurring every few months, despite my best efforts to clean up my system (see below). ...
39 votes
2 answers
71k views

What to do about "the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present"?

While booting Ubuntu 12.04, the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present is showing. Why is this?
0 votes
1 answer
2k views

clevis/dracut luks unlocker - early dracut unlocker not engaging upon boot

How to get FDE unlocked by clevis early dracut unlocker? I have installed Ubuntu 18 Server full disk encryption. clevis (from source). dracut (from source, to resolve clevis build dependencies) sudo ...
0 votes
1 answer
80 views

Operationally restore encrypted homedir [duplicate]

Today I had a huge scare accidentally changing my laptop password to a keepass-generated 64-alphadigit string, locking me out of my encrypted homedir. My login password was stored in a keepass file on ...
3 votes
0 answers
1k views

Decrypting External Hard Drive

A couple months back I had an old 350 gb Transcend external drive I forgot about and on a whim, installed Ubuntu on it. After using it for a couple months I decided to ditch Windows all together and ...
1 vote
1 answer
961 views

Won't boot after upgrade 18.04, encrypted swap

Forgive me, I'm typing from my phone due to inoperable OS. The OS won't finish booting and I can't get to the desktop. I can however drop to a console. On boot, no matter the contents of fstab, it ...
1 vote
1 answer
6k views

How can I unlock my hard disk?

I have just installed Ubuntu 14.04 all my 500GB HDD as in one drive. I cleared all the data on HDD while installing. But while starting OS, it asks me to enter a passphrase. With the USB I used to ...
10 votes
1 answer
14k views

"Please enter passphrase for disk"

I'm using Ubuntu 15.04. I don't know what has happened; when I start and enter the passphrase, this message appears: Please enter passphrase for disk ubuntu--vg-swap_1 (cryptswap1) on none! What ...
0 votes
1 answer
180 views

How to access encrypted Ubuntu installation from an other computer?

So, I recycled an old compy, and I'm left with it's old HD. It was an ubuntu 17.10 installation, encrypted with the 16.04 stock installation encrypter. I know the passphrase, and used the following ...
1 vote
0 answers
61 views

How do I encrypt a whole partition mounted at /? [duplicate]

/home encryption is not available in the Ubuntu installer 18.04 I still want to protect my data, and the workaround is to encrypt the whole partition. How do I encrypt a whole partition mounted at / ...
0 votes
0 answers
62 views

encrypt shared folder in attached filesystem on external device

I have an external file server which a few people use as a backup server. I have a folder in the file server mounted on my machine as a shared folder. Every week, I copy over some sensitive files from ...
0 votes
1 answer
211 views

Is there a way to hide files after compressed?

I've been trying to encrypt some data with 7za (don't even know if it's secure enough) but, even after encryption and compressing, it would be possible to check which files my compressed file contains....
8 votes
4 answers
13k views

“sudo ecryptfs-recover-private” gives “find: ‘/run/user/1000/gvfs’: Permission denied” after botched (?) upgrade

EDIT 1: I reinstalled 16.04 having booted through the CD but with the HDD installed, now I can read the "readme.txt" and I can click on the "access-your-private-data.desktop" and it seems to run for a ...
2 votes
0 answers
562 views

Autossh fork after entering password

I have an SSH tunnel that I run with autossh to keep it going reliably. The only issue I have is that I have an encrypted private key which I use to connect. If I want to fork my process to the ...
12 votes
1 answer
13k views

Ubuntu 18.04 LTS server full disk encryption

I was installing ubuntu 18.04 lts server (ubuntu-18.04-live-server-amd64.iso). I need full disk encryption. But it is missing here. How can I get the LVM and full disk encryption.
0 votes
1 answer
7k views

Ubuntu 17.04 how to permanently disable VNC encryption?

I can only connect to VNC on my Ubuntu 17.04 machine if I disable encryption using dconf-editor. The problem is that the encryption is re-enabled when I reboot, and I can no longer VNC into the ...

1
21 22
23
24 25
52