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
0answers
13 views

AES CBC encryption: does it make sense if I expose the IV along with encryption result (just for conveniently getting IV when decrypt)?

I have seen some code piece (for example, in Ruby) require 'openssl' def encrypt_aes_256_cbc(plain_text, encrypt_key) cipher = OpenSSL::Cipher::AES.new(256, :CBC) cipher.encrypt iv = cipher....
0
votes
0answers
35 views

How to encrypt files in Linux using certificate

I use efs to encrypt my files in Windows. I want the same in Linux without luks because luks encrypts the partition and asks for password on system login. I want to encrypt with a certificate, without ...
0
votes
0answers
28 views

Can't mount my LUKS drive. Is it lost?

7 days ago I encrypted my 2TB Hard Drive using the gnome-disk-utility (Disks) on Linux Mint Debbie, after that it all worked fine. After that I installed Kali, and when I got to the desktop I couldn't ...
1
vote
0answers
16 views

Hardware for encryption

I have a server with an AMD N36L (HP ProLiant MicroServer N36L). It works fine except it is too slow for encrypting 1 Gbps network data and full-disk encryption: $ openssl speed aes-256-cbc The '...
0
votes
0answers
21 views

Encrypting the media files and to display it on the TV using Linux [closed]

I have a directory with the different media files(jpg,mp4,pptx), I wish to display everything on TV and I have used Raspberry pi and I installed Ubuntu on that and I am using OpenCV python module for ...
0
votes
1answer
22 views

How can I specify which cipher lftp is using when connecting to a sftp server?

I'm using lftp to connect to an sftp server but I get a "no matching ciphers" error, and need to specify which cipher is used. Using sftp the command to connect would look like this: sftp -c ...
0
votes
2answers
52 views

How can I hide/encrypt my files from another user using the same server

I am connecting to my server provided by institution via ssh. It is an Ubuntu server. Home folder contains many users. Each user has a password. But I am not sure whether any user can enter into my ...
1
vote
0answers
37 views

GRUB alternative for LUKS2 with Argon2ID support

It seems that the even the most recent version of GRUB2 doesn't support LUKS2 with the PBKDF Argon2ID (source). The Raspberry Pi bootloader for instance fully supports this new hashing function. Is ...
0
votes
0answers
33 views

How to use no echo by default on LUKS password prompt?

I am using Arch Linux. Encrypted my root partition using cryptsetup. By default LUKS password prompt shows asterisks. I can hide this pressing tab. But it's annoying to me. I don't wanna press tab ...
1
vote
1answer
32 views

Bash script generates 'hash hmac' different then PHP

Problem my command script generates sometimes different result then PHP hash_hmac command. Can somebody explain or show an example how it should be done. The script generates username based on ...
0
votes
1answer
25 views

Apply rot13 (or other encryption) to all forwarded traffic on port

This sounds very dumb but hear me out (though it still may be). I'm a CS student. And the collage I study in have the bright idea of blocking all incommoding SSH and VPN traffic in the name of ...
3
votes
1answer
71 views

How to know if a AMD cpu's SME feature is enabled?

More recent AMD CPUs have a feature named Secure Memory Encryption SME which if available can be explicitly be enabled by adding this parameter to linux' command line. mem_encrypt=on (according to ...
2
votes
1answer
32 views

is it possible to upgrade a distro (debian) in an Encrypted LVM partition?

I installed Debian on a VM using Guided Partitioning with Encryption and using LVM and it created something like this: - /boot - encrypted partition -- LVM --- / --- /home --- swap After the ...
0
votes
0answers
25 views

opensuse avoid typing password twize

I have installed opensuse with encrypted root file system. On boot, I have to type my password twice. I have followed this tutorial to avoid this behaviour, and then repeated Step 3 and 4 for sdb2, ...
0
votes
1answer
24 views

Possible to create an encrypted container that does not require password for write?

Are there readily available packages on linux that provides an encrypted container that everyone can write to without knowing the password? We want each user to submit their works at the end of the ...
3
votes
1answer
1k views

“cryptsetup: ERROR: Couldn't resolve device” combined with “cryptsetup: WARNING: target 'sda3_crypt' not found in /etc/crypttab”

After setting up hibernation on ubuntu 20.04 and modifying it that it works for encrypted swap partitions, I'm getting several issues: First, after rebooting from hibernation, I got "Gave up ...
1
vote
0answers
40 views

Avoid to fully rewite a 7z file (10 GB) when updating a few files in it

Following the method explained in Incremental backup with 7zip, I can create an archive of 10 GB of documents with 7z u -up0q3r2x2y2z1w2 -mx=0 -p -mhe=on backup.7z /path/to/documents It's encrypted (...
1
vote
0answers
29 views

Cloned only a single encrypted HFS+-partition, not the whole disk (ddrescue)

I cloned a single partition type HFS+ encrypted to a file image using ddrescue. The disk is not damaged, I only needed the space on the disk for something. Now I realised that I forgot to clone the ...
0
votes
0answers
66 views

LUKS Encrypted Disk Damaged - Windows 10 install placed boot loader on disk without warning

I had a LUKS encrypted disk, with an atypical structure. The entire disk (3tb) was encrypted such that no secondary partition exists. Example /dev/sdb without a secondary /dev/sdb1. The disk was ...
0
votes
0answers
25 views

Can I recover wallet seed from overridden tails USB?

I've had tails installed on a USB drive for a couple of years. This summer an update made it unable to boot. I installed a fresh Tails OS after formatting the drive, and then realised that I never ...
1
vote
0answers
49 views

Seal Self Encrypting Disk (sed) password in TPM

I have a Self Encrypted Disk (SED). I'd like to use sedutil to lock the disk, but I want the password to be sealed in the TPM module on board the system, instead of in ATA BIOS. Essentially I want the ...
0
votes
0answers
20 views

GPG File Decryption Issue After Importing Public And Private Keys In Local System

I had generated GnuPG public and private keys in my Windows System which I have saved in a separated directory of my system's hard-drive. Then after sometime I installed Manjaro Linux and I imported ...
0
votes
1answer
40 views

Recover formated Linux Mint encrypted Drive

When installing Windows 10 I accidentally mixed the drives and deleted another one that had Linux Mint and was encrypted, since then I haven't done anything on drive to not overwrite anything. Is it ...
1
vote
1answer
340 views

Author's GPG subkey has expired, what can I do?

I am trying to download an update for a piece of software, and my package manager says that the key is invalid and thus warns me. W: Failed to fetch https://deb.torproject.org/torproject.org/dists/...
0
votes
0answers
8 views

How to OS-Probe encrypted Quardra Boot Linux (Mint/Zorin/Ubuntu) and Windows?

I have encrypted Quadra boot with 3 linux (Mint/Zorin/Ubuntu) and Windows. Windows boots fine. Zorin boots fine, but Zorin can't find other Linux with OS-Prober. I have tried them to windows easybcd ...
1
vote
1answer
35 views

`cryptsetup reencrypt` seems to cripple digest iteration count

I had a LUKS partition for which cryptsetup luksDump /dev/mydisk gave (excerpt) Digests: 0: pbkdf2 Hash: sha256 Iterations: 176646 Salt: xx xx ... ... Running cryptsetup ...
2
votes
1answer
42 views

How can I get the active cipher for a wireless interface?

When I run iw phy I see the list of ciphers my interface supports, Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP-128 (00-0f-ac:4) * GCMP-...
0
votes
0answers
32 views

Transfering LUKS encrypted drive

I have a standard Fedora installed on my laptop, with the standard LUKS encryption enabled. My current laptop is falling apart and due for a replacement. Is there any way to transfer a LUKS-encrypted ...
1
vote
1answer
85 views

can't open bitlocker encrypted devices with a clear key with cryptsetup but it works with dislocker

I'm trying to open a bitlocker encryptet partition (/dev/nvme0n1p2) with cryptsetup, but it always returns the following error: # cryptsetup -v open --type bitlk /dev/nvme0n1p2 crypt0 Enter passphrase ...
0
votes
0answers
53 views

Virtual Keyboard for Linux LUKS Encryption for Tablet/Laptop Hybrids

I am thinking about installing a Linux based distro in my Surface Pro tablet/laptop hybrid. I would like to know if it is possible to have a GUI keyboard, much similar to onboard on Ubuntu, to be used ...
0
votes
1answer
95 views

Encrypted Persistence Kali usb won’t save

I am trying to make a encrypted persistent Kali usb. I followed this tutorial. https://devanswers.co/guide-kali-linux-2018-live-usb-encrypted-persistence-windows/ It took me a while to get it to boot ...
0
votes
1answer
65 views

How can I use an unsigned public key to encrypt a large file using openssl?

openssl this way can only encrypt small files: openssl rsautl -encrypt -pubin -inkey public_key.pem -in secret.txt -out secret.enc openssl as I found suggested here throws an error: openssl smime -...
0
votes
0answers
38 views

Is anything on this list a tool I can use the enable some kind of disk encryption?

I have a device running on some kind of obscure Linux distribution used for embedded devices. This device has a web gui where there is an option to enable encryption of the internal storage. However, ...
1
vote
1answer
493 views

NVMe performance hit when using LUKS encryption

I'm running all the commands on the Proxmox host, when I LUKS encrypt a disk I get about a 28% hit in read speeds and 66% hit in write speeds. I have aes-ni enabled and I should be getting good enough ...
-9
votes
2answers
120 views

How To Encrypt Zip Files using linux terminal? [closed]

Need A Help ! I need how to encrypt zip file using Kali Linux terminal ! I tried hard! But i cannot learn it using my own knowledge!
3
votes
2answers
108 views

End of tape detection (ENOSPC) in tar multi-volume mode with pipes for encryption

Using tar in multi-volume mode relies on a ENOSPC error to detect the end of the first tape and prompt the user for the next tape. To simulate this behaviour consider the following example by writing ...
4
votes
1answer
105 views

encrypt private keys for dropbear ssh-access

I'd like to use dropbear as an alternative, minimal ssh-server and -client. dropbear allows the use of private-public-keys for ssh-access, although the keys are not identical to the ones used by ...
0
votes
0answers
35 views

GPG hangs on signing documents

I'm new to GPG and have been very frustrated that my GPG always hang when asked to sign documents. And I can't figure out why nor how to fix it. I've followed the tutorial by MakeTechEasier to ...
0
votes
0answers
22 views

Setup for a secure encrypted distro on stick?

I recently bought a SSD USB "Stick" - I think it qualifies as drive as it has 256GB. I want to set it up so that: It can boot a linux from (almost) any machine (if so configured) Data is ...
0
votes
0answers
14 views

Unlock encrypted partition via web interface

I want to encrypt my Jellyfin Database. Due to the lack of an encryption feature on Jellyfin itself I consider just encrypting the whole db partition via the OS. But I want to be able to unlock the ...
0
votes
0answers
14 views

Can different tox clients communicate with each other?

More specifically, if I run qtox on my linux desktop, and TOK on my iOS, can I log in to both with the same credentials? Can I communicate with other people using the tox protocol, regardless of which ...
1
vote
1answer
40 views

Should DNS queries for the time servers be encrypted?

When it comes to encrypting DNS queries using dnscrypt-proxy, people also tend to use dnsmasq on their linux machines. The main goal of this setup in the past was to provide cache for DNS queries, but ...
0
votes
1answer
39 views

grub password protection necessary or overkill in an encrypted system?

I run debian with full encryption and wonder why I would also need a password protection for the bootloader...
2
votes
1answer
225 views

How do I encrypt the system disk with VeraCrypt on the command line on Linux?

I've installed Raspberry Pi OS and VeraCrypt on my RPI. I have used VeraCrypt (and, previously, TrueCrypt) for many years, but always on Windows and with the GUI. Now I try to use it on Linux on the ...
0
votes
1answer
22 views

Same gpg command applied on the same string but got different result

I'm new to GPG and I've learned some basic GPG commands recently. I just found that using the same GPG command to encrypt the same data always generates different result. Below is an example. Is is ...
0
votes
3answers
244 views

Does *BSD have the ability to encrypt a system partition with full disk encryption?

Does FreeBSD, NetBSD, or OpenBSD have an encryption feature like Linux's dm-crypt? And will it work for a system partition?
0
votes
2answers
32 views

How to verify a public(facebook's) key ? and then sign and trust them

Recently I enabled gpp emails option in facebook. Then they sent me a test mail to check whether I'm able to decrypt that or not. So first I downloaded there public key from Here and imported in my ...
1
vote
1answer
189 views

What does it mean by gpg encrypting a file with multiple recipients?

To encrypt a file using a person's public key, I can use the following command. gpg --recipient anonymous@anonymous.io --encrypt --armor file_name I don't quite understand when this command has ...
2
votes
1answer
605 views

Cannot decrypt files on a Mac using openssl

This is the command I used to encrypt the files on my Mac around 2017. I don't know if my Mac was running High Sierra at the time or not, because I am usually late to the party when it comes to ...
0
votes
2answers
132 views

How can I increase the size of an encrypted swap partition when the root partition already takes up all free space?

My laptop is getting kinda slow, especially when having Firefox opened with multiple tabs, which is why I'm trying different ways to make it a little snappier. It has an Intel Core 2 Duo T5600, 2 GB ...

1
2 3 4 5
16