Questions tagged [encryption]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
6 views

How to unlock encrypted drives on a headless server?

I'm planning a homemade NAS-build with the following features: Standard Ubuntu server installation with SSH server Two Btrfs RAID1 drives on encrypted HDDs with dm-crypt NFS shared folders from ...
0 votes
0 answers
10 views

Disable password prompt for encrypted LUKS partiton after setting up automatic decryption with TPM2

I have a setup with an unencrypted EFI boot partition and an encrypted LVM volume. Secure boot is enabled and I have installed tpm2-toos and configured automatic decryption for the partition with ...
0 votes
0 answers
21 views

Ubuntu Server setup fails for Luks root partition

I am trying to install Ubuntu Server 22.04 onto a disk with the following partition layout: 500MB /boot/efi 500MB /boot 200GB / with LUKS After the installer starts I go to the console and set up the ...
  • 101
2 votes
2 answers
75 views

Cannot mount and play copy-protected dvd Ubuntu 22.04 (libdvdcss is installed!) [closed]

Greetings to everybody. I have a trouble in reading DRM-protected DVDs on my computer (Ubuntu 22.04). Those DVDs I own personally and I just want to watch them. System tries to read the DVD 3 times ...
0 votes
0 answers
28 views

How do I programmatically mount zfs at boot?

I encrypted my hard drive with zfs, running ubuntu 22.04. I'm an idiot and forgot my password. However, I'm pretty confident that it is contained in a list of ~300 passwords that I know. When I boot, ...
0 votes
0 answers
19 views

"Encrypt the file list" option greyed out when creating ZIP file

I am fairly new to Ubuntu and frankly not very tech savvy. I am using Archive Manager 43.0 on Ubuntu 22.10. I want to encrypt some sensitive files, and I would really like it if the name of the files ...
0 votes
0 answers
16 views

How to change disk decryption screen resolution (Ubuntu 22.04)

The password entry screen for decrypting the drive is displayed at a resolution of 3840x2160. The resolution of my monitor is 1920x1080. How to set this decryption screen resolution? Now it is hardly ...
  • 1
0 votes
1 answer
28 views

Apps can't access network drive

I'm on 20.04 and trying to set up a server that I want to use for Plex and Sonarr. I have an unlimited Google Drive mounted via rclone and that is encrypted and mounted via Cryptomator. The encrypted ...
0 votes
0 answers
23 views

Read-only LUKS partition

I have a LUKS encrypted partition on a second hard drive that I use on my computer. When I turn on my computer, it is encrypted unless I go to it and try to open it, an operation that the system then ...
  • 21
1 vote
0 answers
38 views

Bought an Ubuntu Notebook - Pre Installed - Encrypted

Apologies if this extremely easy or not related as this is my first time using Ubuntu. I bought a notebook with Ubuntu Pre installed, however, I´m having a hard time to do the first log in. You may ...
1 vote
0 answers
45 views

Fix Grub2 boot with encrypted root LUKS partition

I currently have 3 different boot partitions: Windows 11 on nvme0n1 Fedora 35 on nvme1n1 Ubuntu 22.04 on sdc with an encrypted root partition on sdc4 When I initially configure the system the ...
  • 111
0 votes
0 answers
34 views

Is it possible to downgrade an LUX encrypted Ubuntu 22.10 to 22.04 LTS

I want to go back to LTS version of Ubuntu for display driver an personal reasons on my lenovo thinkpad that has an LUX encrypted HDD. However. Booting with an Ubuntu installation USB. I can't select ...
0 votes
0 answers
20 views

Home Directory Deletion

For some reason I had the remnants of an old encrypted drive in my home directory from a previous distro that I had copied over long ago. Basically my home directory only contained the encrypted ...
0 votes
0 answers
12 views

Encrypted disk/home is not resized after resizing LUKS

I cloned a 128GB SSD to 256GB SSD, and resized it proportionally. LUKV Volume grew, the mounted root is still limited to 128GB Please advise how to make it "discover" more space.
  • 1,329
0 votes
0 answers
44 views

grub efi luks encryption, how avoid "decrypt master key"

because I accidentally deleted the luks key slot saved in the keyfile the system (lubuntu 22.04, grub efi) started as normal with password to decrypt master key, which takes very long because of grub ...
  • 1
1 vote
0 answers
23 views

Encrypted partition with user files not mounted at start up

I have a laptop with Ubuntu 22.10 with two disks. One is used for the system and home directories. The other is used for "data", and it is encrypted. The idea was to have some sensitive home ...
  • 3,522
0 votes
1 answer
33 views

Will ecryptfs-protected home partition backup be unreadeable after restoring it to a new ubuntu install?

I have a little problem here. I've just finished to set up my automatic backup system using Duplicity and Déja Dup. I backup my files to my server using SSH. After some testing, i've checked that I ...
2 votes
1 answer
56 views

'ssh-keygen' - creates ssh key pair but silently skips encrypting the public key. Why?

For example ssh-keygen -t rsa -b 4096 -C "test" -f test -N "1234567890" creates a public key beginning with -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNz.... instead of -----BEGIN ...
0 votes
0 answers
14 views

After update Ubuntu cryptsetup password is incorrect

I have Ubuntu 20.04. It was encrypted during installation. It is a virtual machine on ESXi host. Today I tried to run ubuntu but my password was not accepted, I saw the error: "cryptsetup: error:...
0 votes
1 answer
40 views

How do I remove the oem logo shown during boot in ubuntu 20.04 with full disk encryption?

I have removed the oem logo by configuring plymouth but it is still shown before I enter my password during boot and I can't find a solution. Please help me.
0 votes
0 answers
23 views

are downloaded update files ecrypted or not? [duplicate]

Yesterday needed to use the command " sudo apt update" while installing vpn when i noticed that the address of some ubuntu servers did not begin with https but instead http. so i began ...
  • 1
0 votes
0 answers
25 views

LUKs backup drive shows as "free space" on Ubuntu 20.04....can someone help?

I am on Ubuntu 20.04. I have a backup hard drive that is encrypted with LUKs. I recently installed a third drive and installed Win11. I was trying to access the LUKs drive from within Win11, and ...
0 votes
0 answers
42 views

Hardware level encrypted flash drive not being detected in ubuntu

I just bought an Encrypted USB storage of courier integral, more details here, I can use the stick normally on windows as highlighted, but I am not able to use this storage stick on Linux based ...
4 votes
2 answers
84 views

Change encrypted 18.04 install to dual-boot along side 22.04?

I'm trying to install Jammy in a dual-boot, side-by-side on laptops with an existing LUKS-encrypted Bionic install. (We need access to both on the same PC for development purposes, and VMs aren't ...
  • 79
2 votes
1 answer
395 views

Which random generator does /dev/urandom use (LTS 20.04)

I am curious about the standard cryptographic secure random generator used by /dev/urandom in Ubuntu LTS 20.04. Can someone name the standard or provide me with a reference where I can find more ...
  • 123
0 votes
0 answers
75 views

sda3_crypt: cryptsetup failed after regular upgrade (ubuntu 22.10)

I'm stuck at boot time after a regular upgrade which seems to have messed up with encryption and/or boot... No key available with this passphrase. This is not a problem of keyboard or special ...
  • 1
0 votes
0 answers
86 views

Fresh Ubuntu installation with full disk encryption fails on dell XPS 13 9380 with 22.04 or 22.10 out of memory

I had Ubuntu running on the xps for years without problems. Then suddenly after an update it did not boot and halted with an error 'out of memory' before the luks password input. I tried to fix it and ...
  • 1
0 votes
0 answers
51 views

Did I reformat my drive to LUKS correctly?

I reinstalled/upgraded Ubuntu LTS (22.04.1) from a thumb drive and chose the option to encrypt my drive, LUKS format. Later on, I restored some of my old files via Backup (f/k/a dejadup). When I look ...
1 vote
2 answers
128 views

How do I remove password from a PDF using ghostscript?

I have an encrypted pdf, and I am aware of the password, and I would like to use the Ghostscript to make them unencrypted, so they don't require any password to be opened. I tried using the following, ...
  • 389
0 votes
1 answer
64 views

Restoring OS image after performing disk encryption

I have an Ubuntu 20.04 system which is already in use and requires to have its disk encrypted. I have reviewed some methods to perform encryption after installation. But the general suggestion has ...
  • 191
0 votes
1 answer
27 views

Accessing Win11 partition from Lubuntu

I have a double-boot system with Win11 and Lubuntu. When trying to access the Win partition from Lubuntu it will not let me in, because it says the partition is encrypted "A passphrase is needed ....
0 votes
0 answers
23 views

SMTP Authentication encryption

I have working on trying to get an smtp server setup with postfix and dovecot. When running telnet localhost 25 and execute ehlo localhost directly from the system I get the following 250-smtp....
  • 18
0 votes
0 answers
77 views

Encrypted ubuntu 22.04 with Grub minimal bash like line

I'm trying to install Ubuntu 22.04 in an encrypted way following the official guide (Full_Disk_Encryption_Howto_2019). At the firs boot the system ask me the password and, after the typing of the ...
  • 1
0 votes
0 answers
35 views

No disk decryption password prompt on boot

I am running Ubuntu 20.04.5 LTS with full disk encryption. After the last update, the password prompt for disk decryption disappeared. The screen just goes blank after I choose Ubuntu in Grub. ...
  • 41
1 vote
0 answers
39 views

Can Samba pass user's password to an admin-defined script, upon user connect/logon?

So I need to unlock an encfs directory (not home), with the user's password, when the user connects to the device via SMB. The user has no other access - no SSH, GUI, etc. This would (almost certainly)...
  • 121
0 votes
0 answers
31 views

LUKS disks fail to auto mount with key file on boot intermittently

I'm having an intermittent issue on boot where some hard drives don't decrypt using the specified key file and I'm prompted for that drive's key on boot. To dive a bit deeper, I'm running Ubuntu 22.04....
1 vote
1 answer
50 views

Encrypting a partition that shouldn't be accessible on live boot

I am not sure what keywords I need in googling, but this article gave me some hope on doing what I want. I'd like to give a run down of my current state, and what my goal state is, and see if this ...
0 votes
1 answer
54 views

Symmetric private key generation using ESAPI API TPM

I was going through the ESAPI APIs , I have hosted the TPM simulator on my Ubuntu 22.04 desktop and trying to generate the symmetric private key from one C program and another C program using the same ...
  • 777
1 vote
1 answer
277 views

Encrypted partitions (LUKS) with login password + hibernate

on my company laptop I have Windows 11, that has encrypted disk, working hibernate, at I need to provide password just once at log-in. I would like to have same on my personal laptop with Ubuntu. RN I ...
  • 142
0 votes
0 answers
59 views

Disable read/write workqueue for Ubuntu Full-Disk-Encryption

I am currently trying to set up multiple devices with Ubuntu (20.04.5 LTS) and the drive must be encrypted, so I used LUKS during the installation. (I checked "Use LVM with the new Ubuntu ...
0 votes
1 answer
61 views

LUKS: Decrypt home directory

I have Ubuntu with encrypted home directory. Today I worked with Ubuntu but free space was running out. After reboot laptop, on the half progress of encryption I start see balck screen with steady ...
0 votes
1 answer
129 views

Ubuntu 20.04.1 doesnt boot stuck on initramfs

I am having this problem. After updating and upgrading the new kernel loads up which is 5.15.0-52 and it doesnt boot. Stuck on initramfs. While the old kernel which is 5.15.0-48 still boots up just ...
1 vote
0 answers
189 views

Enable Bluetooth Keyboard before LUKS decryption - Ubuntu 20.04

I need to have my Keychron K8 Bluetooth keyboard working to write my boot-time LUKS disk decryption password. At the moment, I can only use the laptop keyboard as the Bluetooth stack is not enabled ...
  • 11
1 vote
0 answers
21 views

Performance test went wrong and the dd command created 13TB of data on /dev/mapper/device. Why system didn't crash? HDD-250GB

So I wanted to do some performance test with encrypted and normal data storage on my embedded device. That is not what I was expected to see at all! Can you please explain it to me what just happend. ...
2 votes
0 answers
177 views

Trucrypt and Veracrypt stopped working after 22.04 upgrade

I have several file folders that I have encrypted with Trucrypt or Veracrypt. These have worked flawlessly for many years on several operating systems including Ubuntu. After upgrading several ...
  • 1,726
0 votes
1 answer
49 views

Filesystem reports less available disk space than LVM (lvm with luks)

There is this issue that has been bothering me for a while. LVM, lvdisplay, vgdisplay, pvdisplay, lsblk all shows the disk has the assigned 3.64 TB, but the filesystem is reporting it's only 1.5 TB. I ...
  • 173
0 votes
0 answers
62 views

How to backup LUKS drive, compressed?

I had a working Ubuntu LUKS installation on a 120Gb SATA SSD and I have just cloned it using dd to a larger, faster 240Gb NVME SSD (I haven't expanded the partitions yet). lsblk: nvme0n1 ...
  • 243
0 votes
0 answers
189 views

Ubuntu 22.10 - Enabling fscrypt for user directory after installation

Best practices for encrypting files on a Ubuntu computer (e.g. to prevent data loss from stolen laptops that were locked or shut down while being stolen) appear to change from time to time. With ...
  • 153
1 vote
0 answers
28 views

Ubuntu downgrade on encrypted drive

On my laptop I have dualboot with win10. Win10 partition is encrypted with Bitlocker and Ubuntu partition is installed on encrypted LUKS partition (boot is not encrypted, home and other folders are in ...
  • 11
1 vote
0 answers
204 views

How to run fsck on encrypted (luks) disk from a bootable usb?

I have encrypted my disk using LUKS. After every boot up, my machine throws "DISK IS LIKELY TO FAIL SOON" message. To fix this, I am trying to run fsck on the root partition. I tried running ...

1
2 3 4 5
50