Questions tagged [encryption]
Questions about encryption such as home folder encryption, partition encryption and file encryption.
2,546
questions
0
votes
0
answers
18
views
Volume group "encrypted" not found - error message during boot - I did not set up any volume groups
It was working the previous days normally, but suddenly I got this error message during the boot somewhere around the end of init-premount or beginning of local-bottom or in-between.
Volume group &...
0
votes
0
answers
16
views
Inaccessible Data after LUKS2 encryption
I tried to encrypt a HDD with an exisiting EXT4 partition on it using Luks2.
First I made room for the LUKS2 header (probably the issue I assume...):
resize2fs / dev/sdc1 2929710000
Then I started ...
0
votes
0
answers
28
views
Ubuntu 22.04 not booting on Dell XPS 13 9320 after fresh install (Dual boot Windows 11)
I recently bought a Dell XPS 13 9320 with Windows 11 pre-installed with the intention to install Ubuntu alongside on dual boot, with encryption.
I followed these instructions: https://www.mikekasberg....
0
votes
0
answers
64
views
Is it possible to use old home folder after encryption?
My company wants me to format my computer and do disk encryption however I have tons of customizations on my pc so I don't want to lose them. I thought I can copy my home folder into external disk and ...
0
votes
0
answers
24
views
Protect system disk from attaching to another machine
I have a device (Raspberry PI 3, Orange PI 5) with SSD as main disk, running under Ubuntu 22.04.
This device should be autonome, i.e. autimatically reboot and autorun some services.
There is some ...
-3
votes
0
answers
19
views
rsa: encrypting (private key) ->decrypting (public key) doesn't work anymore?
I am in a context where I really need to use a PRIVATE key to ENCRYPT a symmetric key and use a PUBLIC key to DECRYPT it. The code works fine with rsa_private_encrypt and rsa_public_decrypt, but these ...
0
votes
0
answers
27
views
Move Ubuntu 22.04 to hardware hp p410i RAID1 with encrypted volumes on BIOS
I have an old hp n40l microserver with Ubuntu 22.04 on board with quite old BIOS as of 2012.
Now my SSD 256GB disk is split to 2 partitions: /boot/efi and /.
I've bought hp p410i RAID card, and 3 more ...
0
votes
0
answers
32
views
Unlock bitlocker drive using udisksctl > error
I try to use udisksctl to unlock a bitlocked drive. The key is stored in keyhorse, and I can get it using secret-tool.
The command I tried is:
udisksctl unlock -b /dev/nvme0n1p3 --key-file <(secret-...
0
votes
0
answers
49
views
Can TPM-backed full-disk encryption feature on ubuntu 23.10 be used to encrypt secondary hard disk except for the OS one?
I have already used this TPM-backed full-disk encryption feature to encrypt the OS disk during new installation of Ubuntu 23.10 successfully. And test passed when I attached this disk to another ...
0
votes
0
answers
20
views
Can't warm boot with custom MOK
I can no longer warm boot after enrolling a self-signed MOK. However, there is no issue if I try to cold boot.
During warm boot, after I enter a decryption key for LUKS, I get a 'Set up successfully' ...
0
votes
0
answers
25
views
How can I install old HDD with Ubuntu 20.04 full disk encryption from old PC hardware(Intel) to new PC hardware(AMD)
I had an old PC (Intel) with a HDD encrypted with Ubuntu 20.04 full disk encryption. Unfortunately, the hardware failed. Thankfully, the HDD seems intact. So I bought a new AMD-based PC (new CPU, new ...
0
votes
2
answers
86
views
PGP, S/MIME and Thunderbird
I am using PGP encryption for my emails, my friend uses S/MIME. We both use thunderbird to write emails. When he writes me a signed email, I can verify the signature and, similarly, he can verify mine....
0
votes
1
answer
51
views
I was installing / enableing fips 140 , rebooted as instructed now my wifi wont let me log rejecting the correct pw. Running Ubuntu Studio 20.13on
I was attempting to make a compliant
Laptop and after enabling fips 140. I can no longer log in to my Wi-Fi networks with what were the proper passwords, it asks for password or security encryption ...
0
votes
0
answers
32
views
Is there a manual process to reseal TPM FDE keys based on current system measurements in Ubuntu 23.10?
There are a couple similar questions out there, but here is what I'm trying to figure out... In Ubuntu 23.10, if you change the system config or firmware, then unsealing the TPM isn't going to work, ...
0
votes
1
answer
132
views
Disk decryption on boot not working on Lubuntu
There's a prompt on boot. After entering my password and hitting enter nothing happens and boot doesn't continue. It just freezes. I'm on 22.04.3.
0
votes
0
answers
69
views
How to automatically unlock on boot a Ubuntu encrypted boot disk drive?
Please, there is any way to easily auto unlock encrypted boot disk on Ubuntu, as we have using bitlocker on Windows? I saw this process, but I don't think that it will work (seems that I am not using ...
0
votes
0
answers
69
views
My ubuntu 22.04.2 wont boot after successful LUKS decryption
my disk is encrypted using LUKS and everytime I open my pc I always need to provide the write password before I can log in into my device, so as usual I open my pc ready to work, and as usual I was ...
-2
votes
1
answer
60
views
How can I re-encrypt my laptop? After windows 11 dualboot with ubuntu 23.10
How can I re-encrypt my laptop?
When I turned it on I had windows 11, and I wanted to dual boot it with ubuntu 23.10.
I had to disable the windows 11 bitlocker to install it.
After installation I can'...
0
votes
1
answer
47
views
Can't open pdftk-encrypted PDF in Acrobat
When I encrypt a PDF using pdftk under Ubuntu 22.04, I cannot decrypt it using Adobe Acrobat under Windows.
Following instructions here, I encrypt a PDF using pdftk:
pdftk input.pdf output output.pdf ...
2
votes
0
answers
35
views
After full disk encryption: set output for successfull password
I recently set-up a new Ubuntu 22.04 system with full disk encryption
following this guide. Everything seems to work fine.
However, the UX is not perfect. Upon start-up I get prompted to enter my ...
0
votes
1
answer
279
views
Prompted for luks encryption password on boot despite specifying a keyfile
I have a working installation of Kubuntu 22.04 on a LUKS encrypted
ext4 partition of device nvme0n1. When I boot up my computer, it
prompts me for the encryption password before proceeding to boot ...
0
votes
1
answer
52
views
Does nautilus encrypt files on BitLocker encrypted drive?
I have an Ubuntu 23.10/Windows 11 dual-boot setup with one of my SSDs and an HDD, both encrypted using BitLocker's New Encryption Mode (XTS-AES). And I read that Linux systems natively don't have ...
0
votes
0
answers
138
views
How do I enable hibernation on Ubuntu 22 on a LUKS system disk with a swapfile?
I have an Ubuntu 22.04.3 LTS desktop. The only swap is a swap file (I removed the swap partition that came as default with the instalation). I followed these instructions to enable suspend to disk, ...
0
votes
2
answers
57
views
iwconfig results differ when used as root or us plain user
If I call iwconfig as user or as root, I get nearly the same result.
However, as root I get one more line: "Encryption key:off".
My Router says: "Encryption type  WPA2 / WPA3 (secure)&...
0
votes
0
answers
27
views
how do I fix an Ubuntu based install that seems borked (no desktop)
I have a VM on VMZWare of Kodachi which is based (iirc) on Ubuntu.
The host machine crashed and rebooted while the guest was running but not undertaking any 'work'. It's LUKS encrypted but I have the ...
0
votes
0
answers
348
views
Very slow performance on Ubuntu 22.04 with encryption enabled / I/O SSD issue
I have freshly installed Ubuntu 22.04 on my Macbook Air 13 Inch Mid-2013. I enabled full disk encryption in the setup process (CPU supports AES-NI, all latest updates installed).
When starting ...
0
votes
0
answers
27
views
Asymmetric Filesystem Encryption
How to encrypt (live) data preferrably as a write only filesystem using a rsa public key known on the device (which is offline), that only later can be decrypted by using the private key?
So once ...
0
votes
0
answers
96
views
Ubuntu VM Full disk encryption, storing keys in Azure
We currently have a solution to have our data partition encrypted with the keys stored on the system partition to allow for booting without user interaction, but not our system partition as we have no ...
0
votes
1
answer
60
views
_[SOLVED]_ grub doesn't show the option for encrypted partition
I installed ubuntu 22.04 LTS with the root partition encrypted. Now grub only allows me to boot my old (non-encrypted) ubuntu installation. how can I re-install grub so that it allows me to boot my ...
0
votes
0
answers
67
views
Mount external LUKS hard drive
I recently updated my laptop's hard drive to a bigger one. The previous one I mounted it in an external case to transform it in to an external drive. The old drive was encrypted with LUKS. When I plug ...
0
votes
1
answer
78
views
lftp denies let's encrypt and ca-certificates when server is configured correctly
Ubuntu 20.04
I use lftp to connect to a server server2.obble.com.au.
I got Error fatal: Certificate verification: Not trusted (93:3C:6D:DE:E9:5C:9C:41:A4:0F:9F:50:49:3D:82:BE:03:AD:87:BF)
Reading this ...
0
votes
0
answers
21
views
extracting data from fully encrypted ubuntu hard drive from other ubuntu operating system
I installed Ubuntu in an hard drive with encryption but there was a problem in loading opreating system. So, I'm trying to copy my data from that hard drive by connecting it with another system having ...
0
votes
0
answers
23
views
How to default to encryption of new home directories when using ldap
When using adduser, one can pass --encrypt-home to encrypt the newly generated home directory. Supposedly, this can be made the default by correctly setting up /etc/adduser.conf.
However, for ...
0
votes
0
answers
39
views
How do I disbale lock after pm-hibernate thaw?
I use full disk encryption, so when coming out of hibernation, I only want to enter one password (encryption passphrase) not a second (account password).
When I use the standard systemd-hibernate, ...
0
votes
1
answer
82
views
ext4 - Remove ability to encrypt disk even for root
I was wondering if this is possible: remove the ability to encrypt a disk/partition?
It occured to me that it's a possible attack vector to encrypt the disk with a key if you manage to get root access....
0
votes
0
answers
76
views
Formatting a USB flash drive
I have a simple question, but still need some advice before I continue, since I already ruined one USB flash drive once.
I am running a Ubuntu 20.04 system and have a USB flash drive of 128 GB. I want ...
1
vote
0
answers
228
views
I've deleted cryptsetup-initramfs
I'm running Ubuntu 20.04 (5.15.-10088.98) with LUKS LVM and have done something stupid.
I've tried sudo apt upgrade and get the following problem:
I: The initramfs will attempt to resume from /dev/dm-...
0
votes
1
answer
201
views
Is it possible to retrofit TPM based disk encryption on system upgraded to 23.10?
There was a lot of rumour about TPM base disk encryption available on Ubuntu 23.10, but looks like all articles meant installation process.
Is it possible to retrofit TPM based encryption (effectively ...
0
votes
1
answer
66
views
How to encrypt a Swap partition after install on a multi-os drive?
My laptop move a lot, and I want to secure it in case somebody get access to it. One of the step is to secure the swap partition, where all memory can be saved.
How to do this using already included ...
0
votes
0
answers
136
views
Can't access LUKS device after cloning
I cloned a partition that is encrypted with LUKS using clonezilla (partclone.org)
Now I get the following error when I try to access the LUKS data on the device.
sudo cryptsetup luksDump /dev/sde3 --...
0
votes
0
answers
126
views
Change listening port for Tang
I am trying to change the port on Tang from 80 to 7500 I am running Ubuntu 20.04. Pretty much everything I have come up with through googling has been geared for RedHat (and it works on RedHat based ...
0
votes
1
answer
136
views
Losing files on external BitLocker encrypted drive
I am using Ubuntu 22.04 and have an external encrypted with BitLocker HDD which I use to store sensitive data such as personal and family photos and videos.
Today, as usual, I decided to move some ...
0
votes
0
answers
17
views
Software Updater: not enough disk space when updating custom kernel (apt works)
I use Ubuntu 22.04 LTS with a custom kernel by my hardware manufacturer installed.
When I get a kernel update, I can't use Ubuntu's Software Updater to update, since I get the error "not enough ...
0
votes
0
answers
244
views
How to properly save and restore encrypted ZFS snapshots for a stock Ubuntu setup?
I installed Ubuntu using the encrypted ZFS option it gave me. I am new to ZFS and am trying to figure out a backup plan, and test it. In my case I want to back up the snapshot to my NAS. Another ...
2
votes
1
answer
310
views
What is the state of the art setup for encrypted home directories which allow remote SSH login in 2022/2024?
Question
What is the state of the art replacement for ecryptfs, while allowing user logins through SSH without a "master" full disk encryption (= FDE) password?
Context
A long time ago ...
1
vote
0
answers
2k
views
How to manually install Ubuntu 23.10 with ZFS and TPM-backed full disk encryption?
In Ubuntu 23.10, Mantic Manticore, the options for TPM-backed full disk encryption (FDE) and ZFS are both exclusive to the installer option that wipes my entire disk. I have other OSes on disk I don't ...
0
votes
1
answer
207
views
How to Setup Software RAID 1 with FDE & Different Size HDDs
My boot drive is using 22.04. Here's what I want to accomplish:
I have two HDDs, one with 6TB and the other with 8TB capacity. They'll be storage drives, not boot drives. I want to create a software ...
0
votes
1
answer
352
views
Why do I need my admin password AND the encryption password when mounting a Veracrypt encrypted partition but not when mounting a LUKS encrypted USB?
This doesn't matter much but I'd like to understand why:
I have an encrypted partition on my internal SSDs (laptop and dekstop), encrypted with Veracrypt (the GUI version).
I also use a LUKS encrypted ...
0
votes
0
answers
48
views
Encrypt all vim buffers with same password
Setting aside weaknesses in vim's encryption algorithm and the security implications of using the same password for multiple files, is there any way to encrypt all Vim buffers with the same password ...
0
votes
0
answers
46
views
Why does system asks for encryption passphrase the INACTIVE user when mounting encrypted external drive?
When I am the only user logged to my laptop (XFCE session), mounting encrypted portable HDD works as expected:
I connect HDD to USB port.
A window asking for encryption passphrase pops up.
I enter ...