All Questions
Tagged with encryption linux
454
questions
1
vote
1
answer
33
views
Issues Configuring Swap and Moving /home to a New Encrypted Disk on Ubuntu 24.04
I have Ubuntu 24.04 installed with the default disk partitioning settings chosen by the installer, including LVM encryption. I have two SSDs:
First disk with the following partitions:
/boot/efi
/boot
...
0
votes
1
answer
96
views
Managing LUKS encrypted swap files/volumes. Manual mounting on remote dedicated servers, boot behavior, and fstab settings
I would like to setup an as simple as possible encryption at rest solution for a remote dedicated server. The host I am using will provide physical disks and there is no off the shelf solution for ...
1
vote
0
answers
22
views
How do I hide the size of GPG message?
When constructing encrypted GPG messages I've noticed that the size of the output seems to be correlated to the size of the input. This makes sense in an information-theoretic sense. However, this is ...
4
votes
1
answer
394
views
Is there a way to move a LUKS-encrypted btrfs volume to the right?
I want to move a LUKS-encrypted btrfs volume to the right. GParted is telling me it knows how to move the LUKS layer to the right, but it doesn’t know how to move the btrfs layer to the right. Can I ...
0
votes
2
answers
115
views
Decryption a token which is encrypted in lower OpenSSL version
We are currently using OpenSSL 1.0.1 to encrypt a token as below:
Encryption:
echo $TOKEN | openssl enc -aes-256-cbc -e -kfile <path of kfile> -md sha256 | base64 -w 0
Decryption:
echo $TOKEN ...
1
vote
0
answers
212
views
How can I enable suspend to disk (hibernation / S4) on current Fedora Desktop systems with full disk encryption
I thought that it was once possible natively to hibernate computers but my current machine (Dell XPS 13 9300) on Fedora Linux 39 (Workstation Edition) only offers these in the GNOME session menu
...
0
votes
3
answers
215
views
Hard time understanding LUKS encryption
I'm reading and studying for my LPI-1 exam, when I came across LUKS for disk encryption. I found it super cool and went to try it on my home lab, in my Debian machine. Installed everything, encrypted ...
2
votes
1
answer
546
views
How to permanently delete a LUKS encrypted partition?
I have been using a LUKS encrypted partition as my /home directory on Manjaro. However, as I have to resize and move a few of my disk partitions, I would like to get rid of it. On Manjaro, I have ...
0
votes
1
answer
118
views
Converting Linux partition to crypto_LUKS
I'm currently working on RHEL 8.9 and attempting to harden a VM of mine, and looking into applying the crypto_LUKS encryption to my active partitions. When I check my partitions using the blkid ...
6
votes
1
answer
847
views
Is it possible to recover bitlocker using a USB drive?
So I've got a laptop currently dual booting windows and linux. I primarily use the linux installation, but I have certain things that need to be on windows. Currently I have bitlocker set up on ...
0
votes
0
answers
34
views
Can I dd from one opened luks container to another?
I want to migrate my encrypted data from one drive to another. Both source and target should be encrypted. I've read in some other question, that I should create a new container, so that the superkey ...
0
votes
0
answers
284
views
How to get minimal vendor information about the TPM chip installed in my laptop
How do I get some minimal information about the TPM chip in my Linux laptop?
Information such as the manufacturer, manufacturer id, manufacturer version.
So far I have tried the tpm2_getcap command to ...
0
votes
1
answer
151
views
can anyone explain how user keys are verified (post host key/KEX, and not authorized_keys)? issue with ssh user key verify
Nutshell: Looking for a bit of an ELI5 explaining the protocol and/or implementation (openssh) of [post-KEX] user key verification (who does what) without being in code I don't understand or a too-...
0
votes
0
answers
30
views
Result is different between Phoronix test suite and openssl speed
I have the result from phoronix test suite openssl 3.1.0 and openssl 3.1.0 from phoronix folder. The result is different between phoronix and openssl. I don't understand how the value is calculated.
...
2
votes
1
answer
962
views
Command Line decryption of aes-256-gcm no-longer working after OpenSSL updated
Late last year (2022) I encrypted a file using OpenSSL using terminal on my Mac with a very simple openssl enc command and was able to decrypt using this command:
openssl enc -d -aes-256-gcm -in ...