Questions tagged [encryption]
Questions about encryption such as home folder encryption, partition encryption and file encryption.
2,571
questions
-2
votes
0
answers
28
views
Accidentally deleted all partitions, trying to recover ecryptfs home w/ photorec
Heyo, I commited a mistake and accidentally zapped all my partitions from my Linux Mint install. No big problem, I was able to run photorec and get all my .eCryptfs files back. The issue now is trying ...
-1
votes
0
answers
17
views
I have installed Ubuntu using disk encryption. When my pc boots it shows the pass input on the second monitor that i keep closed when i don't need it
I have installed Ubuntu using disk encryption. When my pc boots it shows the pass input on the second monitor that i keep closed when i don't need it.
Is it possible to show the pass input on the ...
0
votes
0
answers
18
views
encrypt the filesystem of non-encrypted drive with luks
I have a partition non-encrypted. It has files and is ext4. Is it possible to encrypt it? First it will require map to luks name. For that the cryptsetup command informs current ext4 will be erased. ...
-1
votes
0
answers
43
views
USB flash stick with LUKS encryption... somehow stopped being a LUKS
I've made USB stick with LUKS+ext4 by standard Ubuntu's Disks app and used it 1-2 years, everything was fine. But one day Files (Nautilus) hang, after few tries of ejecting / unmounting USB stick I've ...
0
votes
0
answers
61
views
How to set up 2 LUKS encrypted Ubuntu installs that share a /boot partition?
I'm sort of a newbie to configuring multiboot setups. For context, with great effort, I was able to set up 2 encrypted installs and have them both bootable from grub via the 40_custom method of adding ...
0
votes
0
answers
29
views
Automount encrypted Luks USB device when connected
how can I automount an encrypted USB device (e.g. USB stick) via key file, when connected.
What I did so far
It works during boot time. The device will be encrypted via keyfile and mounted in /mnt/usb,...
1
vote
0
answers
46
views
Broken boot due to bad startup script
While trying to set up a usb key to unlock an encrypted OS drive on ubuntu 24.04 server, I accidentally created a broken script (typed rather than copy-pasting) and the system will no longer boot. I ...
0
votes
0
answers
99
views
Full Disk Encryption With Custom Storage Layout During Ubuntu 24.04 Installation?
During installation of fresh Ubuntu 24.04 LTS, when i select custom storage layout i can not see any option to encrypt the full disk and we are told full disk encryption is available during fresh ...
0
votes
0
answers
42
views
boot partition encrypted and not detected by grub
I have ubuntu installed with boot unecrypted and root encrypted. To get boot encrypted, I have created 4GB new boot partition encrypted and copied everything from first plain boot partition. For grub, ...
0
votes
0
answers
20
views
How can I retrieve (or replace) one LUKS password, given a second one
The good news is that I can unlock my LUKS encrypted home partition. Keyslot 1 ties to a file on a USB stick that my /etc/crypttab uses to automatically unlock. And so as long as a cheap USB stick ...
1
vote
0
answers
115
views
unlocking LUKS root partition with FIDO2 Yubikey (and ideally without dracut)
I enrolled my FIDO2 Yubikey device as a way to unlock my encrypted partition:
/etc/crypttab
dm_crypt-0 UUID=78768999-69dd-44ba-8858-dd0c2ecbc2b5 none luks
dm_crypt-0 UUID=78768999-69dd-44ba-8858-...
0
votes
0
answers
1k
views
disk encryption in ubuntu 24.04 LTS
When we do manual disk configuration for installation with 24.04 LTS, there is no option to encrypt partion (not disk). There is one option to erase whole disk rather than partition and it also ...
0
votes
2
answers
39
views
Does Ubuntu have obstacles to operating after an SSD swap?
My problem is that several keys have stopped working on the keyboard of my Ubuntu machine, likely Ubuntu 22.04. I can't get past full disk de-encryption because my password needs some of the dead ...
0
votes
0
answers
30
views
Booting into recovery mode turns my screen into "Braille" hieroglyphs?
I am running a Ubuntu 22.04 with LUX full disk encryption in a VM. I just finished configuring GRUB to require a password using this answer, and to only require a password when changing settings using ...
0
votes
0
answers
48
views
Booting from encrypted disk image on USB drive
I'd like to make a USB drive on which I can store a number of liveCDs (ubuntu installer for example).
So far, I'm able to select an ISO in Grub, and boot from it.
What I'd like to do is either:
A) ...
1
vote
0
answers
44
views
Can I use my encrypted WD external HD on Ubuntu?
My WD external HD is encrypted with WD software utilities which is available only for MAC and Windows.. I wonder if any alternative solution exists (Hardware encryption only pls not veracrypt)
for ...
0
votes
1
answer
192
views
How to encrypt partition using LUKS-2?
I have an empty partition (say /dev/sda1) that I want to encrypt with LUKS-2 and be able to open it with passphrase from commonly used file managers (Dolphin, PCManFM-Qt, etc). I prefer a GUI like KDE ...
0
votes
0
answers
79
views
Zfs encrypted re-install width more swap
I already installed Ubuntu 24.04 with encrypted zfs partition but my swap partition has only 4Gb.
So I would to reinstall it with a swap partition of 30Gb.
Can I use the actual partitioning and just ...
0
votes
0
answers
52
views
More swap on zfs architecture
I just installed Ubuntu 24.04 and choosed encrypted zfs architecture to set compression.
But I need more swap, by default it installed Ubuntu 24.04 with 4gb. I would need much more, at least 16gb.
...
0
votes
0
answers
76
views
How to encrypt a directory so that no one can access even when mounted?
In Ubuntu 22.04, I use EncFS to mount a folder (directory) for myself which includes my sensitive data. Every time the system is booted, I mount it manually not to store the password anywhere in the ...
0
votes
1
answer
839
views
Can't install Kubuntu 24.04 or Lubuntu 24.04 in encrypted partition
I tried installing these several times, but the same error keeps occurring every time. During installation, I selected manual partitioning, created an ext4 partition, checked the encrypt box, entered ...
2
votes
0
answers
372
views
Ubuntu 24.04 LTS Encryption of root with Dualboot does not work
I wanted to upgrade from 22.04 LTS to 24.04 LTS and unfortunately, that broke my Ubuntu system entirely. So I installed Ubuntu from scratch.
I used to have a dualboot setup. Windows 11 and Ubuntu. The ...
0
votes
0
answers
41
views
Why exactly usermod -p command is not recommended?
For only academic purposes I am doing a research about the usermod command working with the -p or --password option:
Through man usermod exists:
-p, --password PASSWORD
The encrypted password, as ...
9
votes
3
answers
5k
views
Ubuntu 24.04 installer not showing encrypted lvm partitions (luks)
I want to replace my ubuntu 22.04 install which is in an encrypted lvm with new Ubuntu 24.04.
I unlocked to crypted partition :
sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
password: ok
...
0
votes
0
answers
95
views
What is the correct approach to unlock a disabled login user?
When is executed the sudo adduser <username> --disabled-login command, is created an user being locked because is disabled login. It can be confirmed with the passwd -S <username> command ...
1
vote
2
answers
4k
views
Installing ubuntu 24.04 encrypted, along with Windows with BitLocker on the same hard drive
I've attempted to install Ubuntu Beta 24.04 on a new laptop that originally came with Windows 11 Home and disk encryption enabled (BitLocker). During the installation process, the installer raised an ...
0
votes
0
answers
22
views
Move LUKSHeader from /dev/sdx1 to /dev/sdx
I've got a machine running ubuntu 23.10 with some LUKS-Encrypted disks attached. Unfortunately I think I made some mistakes when creating the Filesystems, as some of the luksHeaders are in /dev/sdX ...
2
votes
0
answers
352
views
TPM / Install Encrypted
I'm going to be installing 24.04 Nobel Numbat here in a few days. I have a brand new computer ASUS ROG STRIX X670E-F GAMING WIFI / AMD Ryzen™ 9 7950X3D × 32.
I tried with 23.10 and it still asks me ...
1
vote
0
answers
41
views
Ubuntu 22.04 home directory encryption on a shared computer
First time poster, hi!
I'm an IT support person and I have a need to explore what encrypting home directories on a shared machine running Ubuntu 22.04 would look like. I have read this article that ...
0
votes
1
answer
121
views
Do not ask for LUKS password at boot
LUKS is used on a Ubuntu 22 PC to encrypt the whole disk.
So, each time the PC is booted, 2 passwords are requested: LUKS password to decrypt the disk, then the login password to log in.
Is it ...
0
votes
1
answer
81
views
PC does not boot after installing nvidia driver on ubuntu 20.04 installed on encrypted disk
I just installed ubuntu 20.04 on a HP Z1 TO COMPLETE
I enabled LUKS disk encryption in the ubuntu installer, and ubuntu works well, no problem to boot.
After installing nvidia driver 470 then the PC ...
2
votes
1
answer
242
views
Filesystem with encryption support
I need filesystem level encryption with the following features:
directory encryption.
being fast.
being based on passphrase.
has less overhead.
only the user who decrypt it can access and see the ...
0
votes
0
answers
63
views
Crypttab timeout
I have Ubuntu 22.04.
I have no any strings about timeout= in my manual page (man crypttab).
However it is in manual on Internet (Crypttab).
Does it mean my crypttab not support timeout=?
Why I cannot ...
1
vote
1
answer
71
views
USB external disks encrypted with LUKS not providing SMART data [duplicate]
I have a Seagate external 5TB "expansion" disk, connected over USB. It is encrypted using LUKS.
The disk started clicking and re-spinning suspiciously.
So I want to see the SMART data to see ...
0
votes
0
answers
123
views
Installing Ubuntu 23.10 on a separate NVME SSD than Windows 11 with Bitlocker
Yesterday I tried to get some help on fixing my grub2 after removing grub customizer and was unable to do so with any of the responses and my question was closed as resolved. I have decided it may be ...
0
votes
0
answers
107
views
Can I decrypt an encrypted USB-HDD using a USB enclosure case, other than the one used for encrypting?
I encrypted an external USB-HDD and it works like a charm, I can decrypt using the password when manually mounting or even automatically decrypt with using the proper settings to do so with using the ...
1
vote
0
answers
118
views
How to recover a deleted LUKS partition
I have created a LUKS encrypted pen drive with the gnome-disks tool, but a time ago I have accidentally formatted the disk, losing the partition.
I tried to recuperate the partition stored on sda1 ...
0
votes
0
answers
84
views
Ubuntu/Xubuntu 22.04 installation issue with RAID and full disk encryption
I'm trying to install a ubuntu or xubuntu 22.04.4 with minimum install to a device that has RAID 1 configured in BIOS. During installation I selected to erase disk and use LVM with new Ubuntu ...
0
votes
0
answers
83
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
48
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
110
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
75
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
43
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 ...
0
votes
0
answers
81
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
133
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
327
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
1
answer
51
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
34
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
225
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
142
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 ...