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
17 views

How to transfer files to an encrypted container from Mac to Ubuntu?

I have run a backup from my Mac to Ubuntu machine with rsync. rsync -av —delete ~/ me@ubuntu:/mnt/Backup/date However, I would like to make at the Backup folder a compressed and encrypted file. The ...
0
votes
0answers
13 views

How to compile keyslot_checker?

I want to compile keyslot_checker , but I get error gcc -lm -lcryptsetup chk_luks_keyslots.c -o chk_luks_keyslots chk_luks_keyslots.c:39:27: fatal error: libcryptsetup.h: No such file or directory #...
0
votes
1answer
25 views

ccrypt on Linux

How secure/private are files encrypted with 'ccrypt', from a command line under Linux. One uses ccencrypt file to generate the encrypted ouput. Is it comparable to the quality (security/privacy wise)...
0
votes
1answer
20 views

Openssl Relocation error

I'm trying to encrypt some files using openssl , it showing me following error openssl: relocation error: openssl: symbol EVP_mdc2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with ...
-1
votes
1answer
49 views

Echo cmd overwrites gpg file [closed]

I use gpg -e file to encrypt file, which leaves me with a file.gpg file. I cat the contents and its encrypted. (cat file.gpg). Then to test it, I do this: echo 'this is a test' > file.gpg This ...
1
vote
0answers
95 views

My disk doesn't want to unlock encryption

I use Debian default encryption disk encryption. When I boot I need to type my password, and then I will be logged in. However today I can't login. It always says that I typed the wrong password, but ...
0
votes
0answers
28 views

Create certificate with subject alternative names

Creating CA certificate that should contain subject alternative names (SAN). openssl genrsa -des3 -out ca.key 2048 openssl req -new -x509 -days 3650 -key ca.key -out ca.crt -config ca_server.cnf ...
0
votes
1answer
33 views

GPG encryption in Nautilus right click menu

I often use gpg command to encrypt files like so gpg -c file which produces a file.gpg. I would like to get rid of the command line aspect and have a right click button in my Nautilus. I tried ...
0
votes
1answer
22 views

Cloning ecryptfs drives

I have the task of installing Ubuntu on 1600 laptops that need s few folders encrypted using ecryptfs. I want to configured and encrypt 1 laptop then clone the rest. Will the clones also be encrypted?...
-3
votes
1answer
27 views

Encrypting an hiding files on a vps

Recently me and a friend bought a vps. We use it mainly to mess around with but also as a remote workstation. Now we sometimes let other people use it. My goal is to hide and encrypt sensitive ...
0
votes
0answers
12 views

Opening a FiST Cryptfs dir from 2002

I have a dir from 2002 encrypted with CryptFS which uses FiST. In theory I can probably install a virtual machine running a GNU/Linux distribution from 2002, compile FiST and CryptFS - if I can find ...
2
votes
1answer
145 views

Encrypting whole disk with Luks (instead of one big encrypted partition)

Context Encrypting whole new external hard drive with Luks. I.e. it is not a system drive (will be used only to store data, not to boot the OS), and it is completely blank. Observation All ...
0
votes
2answers
34 views

Cryptography and the kernel, System calls

Is cryptography implemented in user space or kernel space? Are public/private key pairs generated in the kernel space? What about encryption or decryption using a given public key or a given private ...
1
vote
1answer
81 views

fstrim does not trim swap

I have set up an encrypted swap partition following this guide. My /etc/crypttab is set up like this (note the discard option on swap): rootfs UUID=<UUID_root> none luks,discard swap UUID=<...
0
votes
0answers
23 views

Is it possible to regenerate /boot partition of a LUKS drive?

I use Debian. For learning purposes I want to encrypt the whole hard drive. But let's say I am afraid of evil maid attacks so I want to bring my /boot partition with me always, and I put a boot ...
-5
votes
2answers
67 views

Shell Script - Alphabet in code

I want to create an alphabet where each letter and character has a specific value. Example: A="99_banana" a="@_melon" B="22_GRAPE" b="orange" C="Strawberry" c="life" @="12399" !="tv_12" and so on ...
0
votes
0answers
14 views

Peer-to-peer encrypted L2TP

I'm trying to configure an encrypted L2TP link with the following additional requirements: There is a pre-shared key known to both peers. Ideally, the PSK would not be used as the encryption key (ie ...
0
votes
0answers
9 views

RHEL 7.5 unable to establish a ssh session, unable to exchange encryption keys

I am integrating Apache web server to siem. i am using SCP to pull the logs via ssh. when I am trying to connect on GUI of siem not able to connect giving the error unable to establish a ssh session,...
0
votes
0answers
26 views

Locked out on disk encryption

I bought a Darter Pro laptop from System76 2.5 months ago. Today all of a sudden I got the "please unlock disk cryptdata" prompt. I rebooted the box many times before and never had this prompt. At ...
0
votes
2answers
46 views

mount crypto_LUKS partition without decrypting (locally)

I have an encrypted external disk on a linux server. On the server, I can do this locally to decrypt cryptsetup -d keyfile luksOpen /dev/sdx1 /mnt/decrypted but I prefer to avoid doing that on the ...
1
vote
2answers
218 views

mount fail unknown filesystem type crypto_LUKS

I am facing a problem where I cannot mount a filesystem following decryption. All online searches for advice I have seen basically lead me to do what I have already - Anyone got any ideas? My initial ...
0
votes
1answer
109 views

libcrypto version not found, despite version being on my system

I'm trying to run some software, but I am getting this error message: ImportError: /usr/lib/libcrypto.so.10: version `libcrypto.so.10' not found (required by /home/jessica/project/lib/libgdal.so.20) ...
3
votes
0answers
40 views

Encrypting Passwords In Linux For Later Use

This is an interesting read that I found regarding encrypting passwords for later use, https://4sysops.com/archives/scheduling-powershell-scripts-with-usernames-and-encrypted-passwords/ Essentially, ...
0
votes
0answers
14 views

Can I mount and local repartition / encryption to the nbd?

I am looking for a way to mount a network disk and encrypt it on my local PC, in the way that the server won't be able to know the content of my files. After searching I found nbd, a way to mount a ...
1
vote
0answers
24 views

Will this firewall configuration prevent unencrypted traffic?

All incoming and outgoing traffic denied. Allowed outgoing ports: 53,67,68,443 Since I have not allowed port 80 and since programs use port 443 for https traffic by default, will this configuration ...
0
votes
0answers
137 views

Safe way to automount VeraCrypt container without showing password?

I have a Raspberry Pi 4 (4GB) running Nextcloud on it. Because all my data and backups are saved on external USB drives I will encrypt them with a VeraCrypt container. Mounting and dismounting the ...
2
votes
1answer
670 views

ZFS encrypted pool on Linux?

I'm currently playing around and testing ZFS and I really like it. Now I am looking for the best way to use it as a replacement for my standard setup with luks-based full disk encryption. How is the ...
0
votes
1answer
300 views

What is in this directory $HOME/.gnupg/private-keys-v1.d ? And where are the private keys stored?

In the .gnupg directory there are these files, (alpha numeric)*.key e.g. 1EFA02EFP.key What are they? Are these v1 gpg key files? And how do i import these? And where are the private keys held? I ...
0
votes
1answer
34 views

Which Debian-based distros gives clear easy dual boot setup w/Windows10?

Which Debian-based distros gives clear easy dual boot setup w/Windows10? My Windows10 is currently encrypted with BitLocker using TPM module and I'd like to also encrypt Linux with password or ...
0
votes
1answer
40 views

Being 100% sure whether or not there are any encrypted files on the system just by accessing grub during boot

Is there a way to know whether there are ANY encrypted files or directories on an Ubuntu 14 machine running in VirtualBox? The password for the account is lost, therefore I would reset it by booting ...
2
votes
1answer
704 views

Debian Full Disk Encryption: Does Debian Installer use LUKS 1 or 2?

During installation, whenever I put /boot inside an LVM on top of LUKS along with swap, / and /home, afterwards when I try to boot into it, it only gives me the minimal bash-like grub terminal. This ...
2
votes
1answer
62 views

Snapshottable encrypted folder

I'm trying to create an encrypted data folder which could periodically take snapshots of the current state of it. The snapshot should be an encrypted one, and I should be able to take snapshots ...
0
votes
1answer
237 views

LUKS: Wrong Password or Corrupt Headers?

I'm trying to gain access to my LUKS partitions after suddenly discovering that my password stopped working on all 4 LUKS partitions. 7 days ago when I tried booting and logging into my linux OS, my ...
0
votes
1answer
139 views

Problem with booting a newly LUKS encrypted root partition

I didn't encrypt my root partition when I was installing my Ubuntu 18.04 when 18.04 first came out (first few months of it's release) So for reasons I decided to encrypt it now. I know this question ...
-3
votes
1answer
67 views

Can shell-scripting help secure a client-side email address? [closed]

I have a website with a client-side HTML contact form created manually (not as output of an HTML constructor like PHP): <form action="mailto:someone@example.com"> Email Adress:<br> ...
3
votes
2answers
29 views

Logging shell sessions encrypted?

I log all my shell activity using script, but am worried that there are quite a few passwords and other secret stuff in these log files. Does anybody know of any way of logging the shell sessions in ...
0
votes
1answer
16 views

Encrypt folder with WebStorm projects

I have folder with projects in WebStorm. folder/ project1/ project2/ I need to encrypt folder to read & write unavailable. Everytime I open the WebStorm it'd need to enter the user ...
0
votes
0answers
32 views

Is there a way to encrypt my folder and my files from editing in Ubuntu?

Is there a way to encrypt my folder and my files from editing in Ubuntu? I want a way to protect my folder and content from editing, but I want to allow access to the files without giving authority ...
2
votes
1answer
56 views

concatenating aespipe files: wrong byte every 512 bytes after first file

I am working on encrypting a stream with aespipe to a logfile, and it makes sense to append to the same file every time I run it, so I wanted to do something like my_stream | aespipe -K my_key >&...
0
votes
0answers
37 views

Is there any way to get algorithm of any Encrypted String?

File command shows that the file is of any type of ELF, Text, Ascii, source code. Is any there any command or tool to identify the possible encryption algorithm for a given String? or to find possible ...
2
votes
1answer
389 views

Encrypting PDF with qpdf and only user password

Does anyone know how to set only the user password for qpdf encryption? I'm using Debian 10 (buster) and qpdf version 8.4.2-1 from unstable backported to buster. If I set just the user password (for ...
0
votes
0answers
13 views

Different files are being viewed using different ways to login (ecryptfs) [duplicate]

The issue: When logging in using a local access(typing password near server) and then using SSH, correct files exist in home directory of a user. When logging in using SSH and then locally both see ...
0
votes
0answers
40 views

Is encrypting HOME folder enough in linux?

I've been using Windows and Bitlocker for years. I recently decided to give linux a try because of the beautiful Deepin OS distro. Encrypting my device is a must for me and most of the tutorials I ...
3
votes
1answer
1k views

Convert LUKS2 back to LUKS version 1

Is it possible to convert LUKS2 to LUKS version 1, and by extension, change the use of features that would block such a conversion? Fedora 30 uses LUKS2 by default, however I ran into a situation ...
1
vote
0answers
96 views

Piping Backups through Compression and Encryption

I am trying to backup a disk image of a local system to a remote system, in a way I can automate by bash script at a later point. Backing up and restoring was going well until I introduced encryption, ...
0
votes
0answers
52 views

CONFIG_EXT4_ENCRYPTION change in .config not persisting after building the kernel

I'm trying to enable encryption config in the kernel for Nvidia Jetson Nano(Tegra), by using menuconfig and rebuilding the kernel. But the specific change is not persisting and is overridden each time ...
3
votes
0answers
164 views

Encryption of existing dataset in ZFS (ZoL 0.8)

Is it possible to encrypt an existing dataset (including snapshots) in ZFS on Linux >= 0.8, e.g. by using send | recv and destruction of the original dataset?
1
vote
2answers
80 views

How can I encrypt my folder so there is no access to its contents?

I was able to encrypt a directory so that it can not be deleted. And I encrypted the file in the folder. But then I was able to delete the encrypted file in the encrypted folder, in which case, ...
0
votes
1answer
175 views

How decrypt a file in nano text editor?

I encrypted a text file in terminal using "gpg -c filename" and got "filename.txt.gpg" created in my file manager. I deleted the original unencrypted file. Now I want to decrypt it in Nano so I can ...
1
vote
0answers
30 views

Network Manager won't connect to open (non-encrypted) Wi-Fi access point

How do I instruct Network Manager to connect to a Wi-Fi access point with no encryption using an already-defined Wi-Fi connection? I have tried: nmcli connection modify "${CONNECTION}" \ 802-11-...