Questions tagged [encryption]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

After update: encrypted system boots to initramfs

I am running Ubuntu 22.04 on an Acer ES1-311 laptop upgraded with an SSD, After the recent auto-update my system won't boot anymore, and sends me to initramfs after entering my encryption passphrase. ...
user avatar
  • 1
0 votes
1 answer
97 views

How can I install Ubuntu 22.04 on a system with an SSD and a hard drive using full disk encryption?

I would like to install Ubuntu 22.04 on a PC with an NVMe solid-state drive for the OS and a traditional hard drive for /home, using full disk encryption. Before I buy the hardware, I have been trying ...
user avatar
  • 111
0 votes
0 answers
43 views

Disabling linux user password prompts when accessing encrypted drives (polkit conf?)

I just created a new ext4 partition on a new drive and decided to use LUKS to encrypt it. I entered a password to use for encryption and the partition was created. So far, so good. However, I have the ...
user avatar
1 vote
0 answers
49 views

Ubuntu 22.04 and Windows 10 Pro - Can I encrypt both OS's at the same time with Bitlocker + LUKS

I have alaptop with Ubuntu 22.04 and Win 10 Pro installed. Currently both are unencrypted as I had to remove Bitlocker to install Ubuntu alongside Win 10 Boot Manager. Is there a way I can use ...
user avatar
  • 23
0 votes
2 answers
60 views

Dual Windows + Luks Lubuntu on same HDD. No password on boot

I installed Lubuntu Luks in the second partition of my HD0 Yet I don't understand why I have to enter the password just after turning on the computer, the first partition still contains an unencrypted ...
user avatar
0 votes
0 answers
25 views

Up To Date GnuPG Pinentry-gnome3 PassPhrase Caching Instructions Sought

I am on Ubuntu 20.04 Desktop. I am new to GnuPG, however reading this documentation: https://help.ubuntu.com/community/GnuPrivacyGuardHowto and other howto's I have managed to correctly configure gpg ...
user avatar
0 votes
0 answers
41 views

Cryptsetup: waiting for encrypted source device

I just updated my bios as tech support told me to. Now when I boot up my laptop it says “ Cryptsetup: waiting for encrypted source device” where I am supposed to enter my pass phrase. The screen then ...
user avatar
0 votes
0 answers
24 views

I have mistakenly missed the FDE during install of 20.04.4 ubuntu how do I completed FDE post install?

Good day and thank you for any feedback in advance. I very diligent in my OS setups. I cannot tell if I missed the advanced options to complete FDE during my install on 20.04.4 focal fossa. I am ...
user avatar
0 votes
0 answers
26 views

Encrypted 18.04. install is not using the whole disk

I installed Ubuntu and chose encryption during the installation. The partition where dm_crypt-0 is sitting, is 398.5G big, and according to lsblk dm_crypt-0 is using the whole partition, but the ...
user avatar
  • 1
0 votes
0 answers
20 views

Dropped in INTRAMFS shell when loading kubuntu after "vgkubuntu" not found error

I just had to do a sudo apt dist-upgrade after destroying my Kubuntu 21.10 installation thanks to my stupidity. Now after rebooting from recovery mode, no matter what kernel or if i boot in recovery ...
user avatar
0 votes
0 answers
17 views

"cryptsetup: Waiting for encrypted source device /swapfile" hangs indefinitely on boot (no initramfs prompt)

I'm on Ubuntu 20.04, and today I can't boot. I'm facing the message 'cryptsetup: Waiting for encrypted source device /swapfile' which appears to hang indefinitely. I've seen several posts addressing ...
user avatar
0 votes
1 answer
29 views

How do I remove the "remembered password" on a luks usb drive? (22.04)

I have a USB drive which I encrypted with luks. My Ubuntu machine is set to decrypt and open it without prompting for a password (As I have previously selected the "remember password" prompt)...
user avatar
0 votes
0 answers
30 views

LUKS encryption on remotely managed server?

When I installed latest Ubuntu Server few days ago I saw an option "Encrypt the LVM group with LUKS" and I'm wondering if I would set this option how could I decrypt disk remotely? Greetings
user avatar
0 votes
0 answers
19 views

How to generate a new recovery key for an encrypted ZFS NVMe SSD boot drive?

I have installed Ubuntu 22.04 via an installation USB on an encrypted ZFS NVMe SSD. Woot. Things are sweet. Only, since this is my first time through, I did not savvy the need to copy the recovery key ...
user avatar
  • 849
1 vote
0 answers
99 views

How to setup Ubuntu 22.04 (ZFS) for auto LUKS unlock on boot

I am looking for direction on how to auto-unlock an encrypted ZFS root partition on boot (no passphrase needed). This is for a server that will be headless and will need to be able to reboot without ...
user avatar
0 votes
1 answer
37 views

Do backups of the entire disk remember the specific partitions made?

I have to use LUKS to encrypt my entire hard disk, and in doing so, it will erase all data, so I must backup my disk first. I believe LUKS allows me to encrypt my entire disk, or do it by each ...
user avatar
  • 1
0 votes
0 answers
28 views

LVM Encryption on Ubuntu Server

I have set up a small home server a few days ago and already configured some things. Unfortunately I have not selected the option Excryption of the LVM during the installation. Now I am looking for a ...
user avatar
3 votes
0 answers
38 views

External display sabotages LUKS decryption

Out of the blue my LUKS password of my Ubuntu installation (A) wasn't recognized anymore with No key available with this passphrase However another Ubuntu system (B) on the same Notebook decrypted ...
user avatar
  • 31
0 votes
0 answers
30 views

Disk encryption password not working

I've tried to look it up but there wasn't much I could find on it. When resetting my computer after an update the disk encryption password didn't work after trying it who knows how many times. The ...
user avatar
  • 1
0 votes
0 answers
35 views

Change Bootscreen with encrypted drive Ubuntu 22.04

Our Company will using in future our company logo in boot sequence or while the encryption is asking for password to unlock the laptop. this will be necessary because when a laptop is stolen or ...
user avatar
0 votes
0 answers
25 views

Lost password for LUKS encrypted Ubuntu SSD. How do I reformat it?

The entire disk was encrypted with LUKS. If it helps, I believe this may have been the tutorial I used: https://linuxconfig.org/ubuntu-22-04-enable-full-disk-encryption There wasn't any important ...
user avatar
1 vote
0 answers
164 views

Best way to complete Full Disk Encryption with Lubuntu 22.04 [closed]

Edit: So I figured everything out, as described in detail here: https://ubuntuforums.org/showthread.php?t=2476642 The Lubuntu 22.04 installer with the FDE option doesn't use a /boot-partition at all. ...
user avatar
  • 11
2 votes
2 answers
331 views

LUKS/Cryptsetup possibly corrupted after hard shutdown

My laptop is a a Dell Precision 5560 running Ubuntu 20.04.3. It has LUKS disk encryption set up on it. About a week ago, it completely froze (I'm not sure why) such that my only recourse to get it ...
user avatar
  • 25
0 votes
1 answer
49 views

How to encrypt a partition and protect the key file

A Linux machine has a partition with sensitive data. The goal is to prevent one from booting up from a live usb and mounting the machine's hard drive and copying the data. The partition is encrypted ...
user avatar
  • 1
0 votes
0 answers
79 views

Installing Ubuntu without disabling Bitlocker encryption

Is there a way to install and dual boot Ubuntu / Fedora along with Windows 11 without disabling bitlocker encryption? Possible approach The other solution for continuing to use Bitlocker extending ...
user avatar
  • 101
3 votes
0 answers
405 views

How to Configure Ubuntu 22.04 (ZFS) for auto LUKS unlock on-boot via USB key

Bit of a tricky one. 100 bounty up for grabs!! Edit: bounty expired. soz. Upon finding an answer to this question, this will be formalised into an article / howto for the internet to benefit from, as ...
user avatar
0 votes
0 answers
25 views

How to setup 2 HDD into RAID 0 + LUKS + EXT4?

I need some guidance, preferably good links to documentation or even the exact commands on how to setup my new hard drives into: 2 HDD disks (2 partitions rather) -> RAID 0 -> LUKS -> Ext4 ...
user avatar
  • 1,162
1 vote
0 answers
35 views

How to install over existing installation on an encrypted filesystem?

Is there a way to configure the Ubuntu installer to re-install over an existing Ubuntu installation on an encrypted filesystem? # lsblk nvme0n1 259:0 0 1.8T 0 disk ├─nvme0n1p1 ...
user avatar
0 votes
0 answers
45 views

Deleted initrd.img and vmlinuz

Running Ubuntu 22.04 LTS and I accidentally deleted initrd.img of ONE kernel and vmlinuz of the OTHER kernel. I can not boot the OS up, not even in recovery mode. How do I restore either initrd.img or ...
user avatar
  • 1
0 votes
2 answers
63 views

Which hard disk encryption is in use?

how can I find out, which hard disk encryption is used on my machine? When I boot, it says: Please unlock disk nvme0n1p3_crypt. I have the password, but the computer was set up by someone else and I ...
user avatar
  • 11
0 votes
1 answer
285 views

Decrypt user home after installing Ubuntu 22.04

I have a laptop with two mount points, one with the system (/) and another with the /home folder. My user folder in /home was encrypted with Ubuntu 20.04. This morning I re-installed the system with ...
user avatar
0 votes
0 answers
43 views

Can't access backup on LUKS external HDD

I encrypted a 1TB external hard drive with LUKS when formatting using Disks and used it for backups with Grsync. I had to wipe my hard drive, and now I want to restore all my files from the external ...
user avatar
0 votes
1 answer
55 views

Recover files from encrypted drive after erasing and reinstalling Ubuntu

I had ubuntu 21.10 and upgraded to 22.04 sadly this broke a lot of things so I wanted a fresh install. Using the ubuntu installer I erased the drive, installed ubuntu 22.04 on the same hard drive and ...
user avatar
  • 101
9 votes
2 answers
2k views

What disadvantages are there to encrypting an entire hard drive or a home directory?

I am planning on installing Ubuntu on my computer. I studied the installation instructions, and I discovered that one of the steps is to select whether the Ubuntu system will be encrypted. I ...
user avatar
2 votes
1 answer
1k views

Encrypt the home directory in Ubuntu 22.04

I am upgrading my home server with Ubuntu 22.04 and I was surprised to find that there is no option to encrypt home directory as it was in Ubuntu 16.04. I could only choose either to use LVM and ...
user avatar
  • 121
-1 votes
1 answer
98 views

Storage partition has become 'Bitlocker' type

I was running a windows 10 system with a storage partition. I used disk manager to shrink my C: drive and create a new D: partition for storage. I left all the windows stuff on C: and used D: for all ...
user avatar
10 votes
1 answer
7k views

Ubuntu 22.04 SSH the RSA key isn't working since upgrading from 20.04

Up until last week I was running Ubuntu 20.04 happily, and then over the weekend decided to back everything up and install 22.04. I've had a couple of teething issues which I've solver, however I'm ...
user avatar
  • 353
25 votes
5 answers
5k views

Can windows viruses affect my encrypted linux partition on the same disk?

Can Windows viruses affect my encrypted Linux partition on the same disk? I just want to use Windows but I am concerned.
user avatar
  • 307
0 votes
1 answer
91 views

How do I auto-mount a LUKS disk at login WITHOUT unmounting it at logout?

So I have an external LUKS-encrypted disk connected to my machine, and I want to automatically mount it after I log in. After some Googling I found pam_mount, and it does exactly what I want, except ...
user avatar
0 votes
0 answers
52 views

Auto unlock encrypted laptop at startup

I have a laptop with fully encrypted Ubuntu 22.04 (except /boot). If possible I would like to unlock it automatically at startup whenever it stands on its place at home (and not whenever it is ...
user avatar
1 vote
1 answer
893 views

Should Ubuntu 22.04 ZFS with encryption also encrypt the data partion?

I did a clean install of ubuntu 22.04 and I choose ZFS with encryption. Now when I check the partitions, I see that only the EFI and SWAP partitions are encrypted and my data partition is not. Is this ...
user avatar
0 votes
0 answers
32 views

Recover files / flashed Ubuntu (password protected) from USB Stick

i accidentally flashed (with Etcher or Win32DiskImager) the wrong USB stick. On this stick was my portable Ubuntu 20.04 LTS installed. I forgot to unplug the Stick and flashes Raspbian OS on the ...
user avatar
1 vote
0 answers
291 views

Ubuntu autoinstall with TPM2/LUKS auto-decrypt

I'm deploying Ubuntu 20.04 using the new autoinstall method. My deployment process works and we are encrypting the root volume with LUKS. I wan't to setup auto-decryption of the root volume on boot ...
user avatar
  • 81
1 vote
1 answer
15 views

How to set user interface language for user with encrypted home?

After encrypting home directory by means of ecryptfs tool specified UI language is not applied after system restart. If user in the system only one the whole system UI can be changed to needed one. ...
user avatar
0 votes
0 answers
39 views

Do I have to check the fingerprint of new received OpenPGP public key, if it has been sent in a signed and encrypted email from a verified source?

It is well know that beginning an email relation with PGP (aka GnuPG or OpenPGP) encryption, both sides A and B have to exchange their public keys. The very first step can't be done by encrypted mail, ...
user avatar
0 votes
0 answers
26 views

Full disk encryption - password prompt automatically shut down after 5 minutes

I'm using laptops and they do start up when the lid opens - it is nice and I like it. However sometimes the lid opens while the laptop is in the bag. It then boots to the password prompt. And when I ...
user avatar
1 vote
4 answers
797 views

sda3_crypt: cryptsetup failed after 20.04 to 22.04 upgrade

I was running 20.04 and used sudo do-release-upgrade -d to upgrade to 22.04. Everything seemed good and I was prompted to reboot, upon doing so I get the usual encrypted password entry screen but upon ...
user avatar
0 votes
1 answer
258 views

How to pipe credentials to cryptroot-unlock for automatic LUKS unlock on boot

My root partition is encrypted with LUKS so on every boot I get prompted for the passphrase, I've installed dropbear-initramfs so that I can SSH in and provide the passphrase headlessly with "...
user avatar
0 votes
0 answers
9 views

2 Questions about GPG signing and decryption

Is it true that every time you sign a document, file, repository, package, email, etc. it becomes encrypted so that you need to verify it AND decrypt it? If so, how come you don't have to decrypt ...
user avatar
1 vote
0 answers
177 views

Problem while booting the system

While booting the system I end up with the following message on the screen: 1.264668) Integrity: Problem loading X.509 certificate -65 1.604188) ahci 0000:00:17.0: failed to start port 0 (errno=-12) 1....
user avatar

1
2 3 4 5
49