Questions tagged [encryption]

encoding information in a way so that it can only be decoded if a secret is known; used to prevent exposure of data to other parties

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

GRUB menu selection problem on dual boot windows10 and Ubuntu 22.04 encrypted

The Grub menu appear a fraction of a second (flickered), and auto launch the first option in it's menu, which is Ubuntu. The problem appear after I reinstalled Ubuntu22.04 Encrypted. I don't know if ...
user avatar
1 vote
2 answers
26 views

Grub install with encrypted Boot partition

i am trying to do arch(or any distro)-install with encrypted boot partition(lvm - uefi) during installation i am trying really hard to get it to working but i get this error i searched a lot but i ...
user avatar
0 votes
0 answers
36 views

How to verify that a key is loaded on a TPM 2.0 device

Situation: I'm learning how to use some of the basic commands in the tpm2-tools software package because I have to develop some high-level test cases to verify a TPM is handling keys per customer ...
user avatar
0 votes
0 answers
29 views

Encrypted rootfs wont boot

I've encrypted my rootfs with LUKS+lvm (sda5). sda1 is my boot partition where grub.cfg stored (not encrypted) sda2 and sda3 not encrypted rootfs sda4 - swap (not encrypted) I want to boot sda5 ...
user avatar
-2 votes
0 answers
41 views

Encrypt SVN user directory

Could anyone give me advice on the best way to encrypt the SVN version control system! I want to Encrypt the SVN User group(devs), but unable to figure out which one would be best fit OpenSSH or GNOME ...
user avatar
1 vote
2 answers
37 views

Make GPG encrypted file look like binary executable

I have a weird ask. I have a tar achive, archive.tar.gz, filled with plaintext files. That archive is then gpg encrypted into archive.tgz.gpg. In total, archive.tgz.gpg is < 100KB. Now, I want to ...
user avatar
0 votes
1 answer
46 views

How to run bash on Cryptomator volume on WSL

My PC's OS is Windows 10, where I am hosting a Cryptomator volume on E: . I want to run bash commands on the contents of that mounted volume, thus, I am trying to access its contents with WSL. It ...
user avatar
  • 103
0 votes
0 answers
84 views

LUKS add new password or key when only TPM unlock is available

It seems like having no password is a big pain when working with any of the crypt tools like systemd-cryptenroll and cryptsetup! I got a volume that is protected by pkcs11-uri=auto (Smart Card) and ...
user avatar
0 votes
1 answer
26 views

/dev/mapper/crypt-home no longer mounts

In October 2009 I set up a dual-boot system with Ubuntu 9.10 (and whatever Windows OS we were running at the time.) The Ubuntu side was configured with several encrypted LVM partitions on sda5: /home,...
user avatar
  • 1
1 vote
2 answers
46 views

How to check if a LUKS device is unlocked, without sudo permissions?

Is there any way to check if a LUKS device is unlocked, without having sudo permissions? I'm aware of two questions, but all the answers require sudo. It seems that I've found an indirect way (...
user avatar
  • 778
1 vote
0 answers
63 views

gpg -d hangs while decrypting

i have a key installed on my fedora 35. i see that the subkey for encryption is active and unexpired. i can encrypt with it just fine but when i try to decrypt, it just hangs. though echo 'encrypt ...
user avatar
  • 121
0 votes
1 answer
73 views

Suppressing your IP address from being entered into the known_hosts file in setting up SSH

We just recently set up a password-less connection between two servers. We have security concerns related to the contents of the known_hosts file. Basically the concern is if some one were to gain ...
user avatar
  • 1
1 vote
0 answers
19 views

Does opening a picture in a temporary filesystem leave any traces with Eye of GNOME/eog?

Does the Gnome package eog leave any thumbnails or other privacy leaking information when opening a picture in a different filesystem? I know that thumbnails are created by default in the home ...
user avatar
0 votes
0 answers
25 views

Which encryption algorithms are common to both ssh server and client?

I have a situation where I would like to run a complex X11 program across the network on an elder laptop through a ssh -Y tunnel. The performance of the X11 program GUI (IntelliJ community edition for ...
user avatar
0 votes
1 answer
42 views

Read key properties

I have multiple keys (some private, some public) and I want to get information about them (their length, their type, anything else). Is that possible?
user avatar
  • 13
1 vote
1 answer
61 views

Did Windows break my LUKS encrypted disk?

Primary OS is Qubes, secondary OS is Windows 10. I have a disk sda with full disk encryption (LUKS). But now I don't see my ext4 partitions on that disk and there only is one NTFS partition with a ...
user avatar
  • 11
1 vote
0 answers
151 views

What does j9T mean in yescrypt (from /etc/shadow)?

Consider this Shadow string $y$j9T$PaFEMV0mbpeadmHDv0Lp31$G/LliR3MqgdjEBcFC1E.s/3vlRofsZ0Wn5JyZHXAol5 There are 4 parts id : y (yescrypt) param : j9T salt : PaFEMV0mbpeadmHDv0Lp31 hash : G/...
user avatar
  • 111
0 votes
1 answer
20 views

kernel config, CONFIG_CRYPTO_RSA, what is this config for?

I checked: https://cateee.net/lkddb/web-lkddb/CRYPTO_RSA.html The help text is: Generic implementation of the RSA public key algorithm. Is this driver for an encryption HW device, ex: from Intel/AMD ...
user avatar
  • 371
1 vote
1 answer
156 views

How to mount on Linux a QNAP external drive with LUKS partition

I need help to mount an external drive used on my QNAP TS-230 (latest firmware) to backup data. I set encrypted partition (LUKS) on this drive with a passphrase. I tried to mount that partition on a ...
user avatar
0 votes
1 answer
30 views

Extract 'salt' from mcrypt encrypted file

I have some mcrypt(1) encrypted files, doing file on them ici$ file myfile.nc myfile.nc: mcrypt 2.5 encrypted data, algorithm: rijndael-128, keysize: 32 bytes, mode: cbc However, I'd like to extract ...
user avatar
  • 602
0 votes
1 answer
52 views

Change mount location of an encrypted volume?

I've followed this page to make a partition encrypted. When I format the created luks volume I do this: root@M17A:/home/mike# sudo mkfs.ext4 /dev/mapper/cryptpart mke2fs 1.45.5 (07-Jan-2020) Creating ...
user avatar
  • 1,042
0 votes
1 answer
137 views

Remove Cryptsetup LUKS encryption [duplicate]

I wanted to encrypt a flash drive but it didn't went well. Then I tried to remove the encryption but I am unable to do it. Here is some info: LUKS header information Version: 2 Epoch: ...
user avatar
1 vote
2 answers
100 views

Does LUKS take space?

I have just encrypted an empty partition using LUKS. The partition size is 875 GiB. Before encryption 28 KiB were in use. After encryption, 14.81 GiB are in use (1.7% of the total). Why is that so? ...
user avatar
  • 315
1 vote
1 answer
402 views

dropbear-initramfs Permission denied (publickey)

I'm having issues unlocking an encrypted disk over ssh using dropbear. I've followed this guide to set it up, but I just end up getting Permission denied (publickey) error I copied the public key from ...
user avatar
  • 147
0 votes
0 answers
20 views

Does ecryptfs of the home directory prevent recovering the data back?

I have a computer with SSD where my personal data (:D) is stored in a folder inside the home directory, I have read so many times that encrypting your files will prevent anyone from retrieving your ...
user avatar
  • 159
1 vote
0 answers
199 views

(Probably) Corrupted LUKS Header, Restoring Header does not work

I tried everything I was able to find online. Hours of research since yesterday ;( I found no one struggling with the errors I'm facing, except from GitLab (error code -1 instead of -4 I'm getting), ...
user avatar
  • 11
1 vote
1 answer
106 views

How to add encrypted swap file on FreeBSD 13

I want to add encrypted swap file in FreeBSD 13. I have read this documentation page, but it doesn't explain how to set up encryption for the swap file. I've also read another one, but it only gives ...
user avatar
  • 161
2 votes
1 answer
52 views

Encrypt main data Linux partition so it's only accessed by unique system

How can i encrypt a Linux internal disk, so that it is only accessible with a unique system (preinstalled Debian bullseye), installed on a USB drive? Even if someone has the encryption passphrase and ...
user avatar
  • 23
3 votes
2 answers
244 views

Automatically mount fulldisk encrypted disk without entering passphrase?

Some time ago I installed a linux Pop-OS (based on Ubuntu 20.04). All good so far. It's my secondary play-around box. I installed it with fulldisk encryption which prompts for a passphrase to decrypt ...
user avatar
1 vote
0 answers
61 views

How to circumvent "VeraCrypt is already running"

I'm running VeraCrypt which looks something like this: I can close this window and open it again by using the system tray icon. However, sometimes my X server crashes and after restarting it, the ...
user avatar
0 votes
1 answer
61 views

Not booting off TPM with USB disk inserted

At reboot, with USB sticks inserted, the TPM will not allow passphraseless booting of the server. With a USB HDD inserted passphraseless booting of the server is possible. Our servers are running ...
user avatar
4 votes
0 answers
120 views

Linux: Is it possible to encrypt a file so everybody in our organisation can view it? (but no one else) -> s/mime

In my organisation we have all s/mime installed in our email clients so we can verify our ID and send encrypted mails. These personal certificates are backed by a trusted server certificate. This ...
user avatar
1 vote
0 answers
63 views

LUKS encrypted drive won't open even after passing valid passphrase

I created a linux persistence LUKS encrypted drive /dev/sdb3 and I didn't access the drive for about 2 months since the thumbdrive was lost but after finding it when I select kali linux encrypted ...
user avatar
0 votes
0 answers
72 views

Changed grub-default in encrypted Manjaro Linux/Arch - BIOS shows up after decrypting

System Fully encrypted Manjaro Linux Problem I tried to downgrade my kernel, modified the grub. Now when Im booting, the screen appears in which I need to enter the decryption key. Everything fine ...
user avatar
0 votes
0 answers
109 views

Decrypt automatically boot partition in Fedora 34

I recently installed Fedora 34 on my laptop and I need an easy way to decrypt automatically my luks2 root partition. I tried this guide: https://forums.centos.org/viewtopic.php?t=53452 and worked on a ...
user avatar
0 votes
0 answers
49 views

Where are luks keys stored (other than /etc/luks-keys)?

I added a luks volume to /etc/crypttab with none in the 3rd field for the key file. On next boot I was prompted for the key as expected and the drive unlocked no problem. On subsequent boots the luks ...
user avatar
  • 321
0 votes
0 answers
150 views

Decrypting DES CBC and ECB error: Bad Magic Number

I am trying to encrypt and decrypt a BMP file using CBC and ECB with the following commands provided to me: openssl enc -des-cbc -in car.bmp -out car_enc_cbc.bmp -nosalt openssl enc -des-ecb -in car....
user avatar
4 votes
1 answer
76 views

Visualizing encrypted image without saving decrypted version

I am learning how to decrypt secret image files using gpg. In the example below I am encrypting (and then visualizing) a photo called kermit.png. So far I was able to do this as follows: gpg -d kermit....
user avatar
  • 163
0 votes
1 answer
76 views

Extract ssh key algorithm

Is there a command to extract information about the algorithm that is used (RSA, ECDSA, 3DES ...) for SSH keys, regardless of the format (pem, der etc)? I looked into openssl, but I could not find ...
user avatar
  • 83
0 votes
1 answer
35 views

Is there any OS that can be installed to encrypt the whole drive that has multiple OS inside?

What am looking for is an OS with or without and interface that can encrypt the whole drive. So when the pc/laptop boots it boots to this os and I have to decrypt the drive and then I should be able ...
user avatar
0 votes
2 answers
241 views

LVM: How to clone multi-disk encrypted logical volume?

I'm running Arch Linux. I want to clone a 2 disk encrypted logical volume in a single volume group (LUKS on LVM). There is a slight catch. I want to swap some of the drives. I have: VG1: LV: PV(...
user avatar
  • 93
2 votes
1 answer
84 views

How can I fix LVM PV size after a botched encrypted partition shrinking

I apparently messed up today. I have to resize an encrypted root partition to make room for a windows dual boot. I followed instructions from the arch wiki since it seemed to match my needs even ...
user avatar
  • 397
0 votes
0 answers
60 views

Acessing encrypted /home/ from a live USB - mount passphrase problems

So I updated my system (Ulyssa, xfce) after about a month or two of not booting the laptop with a poor wifi connection and some packets did not download, but I went ahead and tried to update anyway, ...
user avatar
1 vote
1 answer
227 views

How do I decrypt files with gpg / gnupg without loosing the original file permissions?

I am currently trying to automate the encryption and decryption of a collection of files. For the encryption I currently use: gpg --batch --recipient [RECIPIENT] --encrypt-files [FILES] For the ...
user avatar
0 votes
0 answers
57 views

Mount second encrypted volume at boot

Running Debian 11 in a Proxmox Virtual machine. Fairly new to encryption and the mounting of them outside of pre-created during system setup. Trying to do something new here. Also quite new to ...
user avatar
  • 1
0 votes
1 answer
69 views

centos 7 decrypt and encrypt library [closed]

I have installed telnet server in my centos 7. I need to make some modifications to the telnet connection to the server. I have a library to check telnet login. It is encrypted. I need a decoding ...
user avatar
1 vote
1 answer
270 views

Remmina RDP connection from Bash without encrypting password or creating profiles?

How can I connect to a machine via RDP using Remmina? I understand that I can do: remmina -c "rdp://Administrator@192.168.122.2" But then I have to enter the password which I don't want to ...
user avatar
  • 677
0 votes
1 answer
46 views

What encryption algorithm does GNU recutils use?

Recutils offers a way to encrypt specified fields in a record, whilst leaving the rest in clear text. -- GNU Recutils Manual What encryption algorithm does it use by default?
user avatar
  • 71
0 votes
0 answers
145 views

Installing Ubuntu 21.04 with LVM on LUKS2 with integrity check returns errors when generating initramfs

TL;DR: I'm unable to generate initramfs after encrypting volumes with LUKS2 with integrity option and LVM on top of those volumes: cryptsetup: ERROR: first: Source mismatch cryptsetup: WARNING: target ...
user avatar
  • 3
0 votes
0 answers
290 views

Multibooting two encrypted linux distros on two separate drives with GRUB

I've recently built a new computer, and I installed two drives on it. I was hoping to encrypt both drives with LUKS, and put separate instances of the same Linux distribution on each drive. One drive ...
user avatar

1
2 3 4 5
17