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

learn more… | top users | synonyms

1
vote
0answers
23 views

Encrypt directory on Linux

I need to create an encrypted directory (to be then filled with files and subdirectories) in a Linux ext4 filesystem, accessible to just one user. It should be: visible (just the root) from the non-...
0
votes
1answer
16 views

how to add a loop device on fedora 23 with losetup?

in an attempt to access a truecrypt container, I stumbled about the prerequisite of setting up a loop device... ncoghlan suggested in an earlier answer When you run it as root, losetup -f will ...
0
votes
2answers
32 views

Password encryption and decryption [closed]

I have stored the password as plain text in a txt file. Now I want to write the script which will read the plain text from the txt file and after that it should encrypt that and decrypt that.
1
vote
0answers
14 views

Encrypt partition and LV afterwards

What I want to do I am using Kubuntu 14.4 and like to use kvpm for my LVM-needs. I have a partition and a Logical Volume. On both is data. I would like to encrypt each of those. https://wiki....
0
votes
1answer
23 views

Transparent encryption

I'm designing an industrial embedded system which needs some encryption. I know encryption will slow things down quite a bit since my media will be either compact flash or SD. I really only need to ...
0
votes
1answer
15 views

How to start an encrypted VirtualBox VM from terminal in headless mode

Situation: I am on Debian 8.5. I installed VirtualBox 5.0.22 and its Extension Pack. I further encrypted the VM via VirtualBox: VM settings -> General -> Encryption -> Enable Encryption. Question: ...
0
votes
0answers
33 views

How to add LUKS Nuke to Fedora cryptsetup? [closed]

I wanted to add a patch to the cryptsetup package on Fedora, so that I could use the LUKS nuke. I've tried many different options to try and rebuild the package, but I cannot figure out what to do to ...
1
vote
2answers
61 views

How to zip directory with encryption for file names?

Using command line, I know that I can encrypt a directory with the following command: zip -er Directory.zip /path/to/directory However, this does not encrypt the filenames themselves. If someone ...
-1
votes
1answer
62 views

How are public and private keys used in ssh?

Assume I have set up public/private key authentication in ssh. Is it correct that the ssh server possesses the public key but not the private key, while the ssh client possesses both the public and ...
1
vote
0answers
22 views

How to encrypt a file or a folder on f2fs?

f2fs supports per-file encryption, however I can't find any resources about it. I know about eCryptFS, LUKES and encfs, that's not the same.
2
votes
0answers
19 views

Cryptsetup hanging after passphrase entered

I am currently looking to recover some data for a friend from an internal HDD removed from a laptop that they had encrypted using LUKS. They can't really tell me much more else as somebody else ...
1
vote
0answers
31 views

How to reboot a server with a LUKS encrypted partition

I have a CentOS 6 VM on which I used the following shell script for installing and configuring MongoDB to use a secondary LUKS (dm-crypt) encrypted disk for its database files: #!/bin/bash -e # Set ...
1
vote
0answers
13 views

MIME RSA encryption

i have this scheme how can i use session-key in MIME to encrypt the message? i used this command but i don't think it is correct openssl enc -e -des3 -salt -in MSg_sign.txt -out session.txt can ...
0
votes
0answers
12 views

VNC client with possibility to specify username, and encryption keys

My KVMoIP from ADDER requires connection with username and encryption. The telnet prompt mentions RFB 4.0. None of my Linux clients can do that? I tried vncviewer, xvnc4viewer, and vinaigre, each the ...
1
vote
0answers
19 views

mount: No such file or directory with encrypted recovery

I have destroyed my Mint Linux installation. I just wanted access to my remote storefront. So what happened was I was having trouble with ICEauthority file in my home directory. So following ...
0
votes
1answer
52 views

Resumable transfer for btrfs send

I am planing to backup data via sending btrfs snapshots to an online storage. The storage is mounted as a LUKS encrypted container file on a cifs share. Later transfers will be reasonably fast, but ...
1
vote
0answers
26 views

Auto-mounting encrypted home folder from previous installation

I have been using Linux Mint till a few days ago, when I installed OpenSUSE LEAP 42.1 instead. In order to keep my existing (and pretty large) user home folder (/home/user), I ordered the SUSE ...
0
votes
0answers
10 views

Linux Mint encryption passphrase window gone

Ever since I installed the recommended Nvidia driver for my computer, the encryption window is gone. Everything is black, I can still enter my passphrase, but I have to do it in the dark. And it's ...
1
vote
0answers
26 views

Unable to activate new encrypted swap partition

First off, I did not reboot and would not like to, it's a server. It is running Debian Jessie 8.4 with kernel 3.16.0-4-amd64. I followed these steps: apt-get install cryptsetup -> no problem ...
2
votes
2answers
181 views

Mount error when automounting a LUKS-encrypted USB flashdrive

UPDATE 1: userone@desktop:~$ sudo umount "/media/userone/New Volume" umount: /media/userone/New Volume: mountpoint not found userone@desktop:~$ sudo cryptsetup luksClose /dev/mapper/luks-04cb4ea7-...
1
vote
0answers
27 views

Encrypt casper-rw file for use with Easy2Boot

I have created an Easy2Boot multiboot USB drive. Currently it contains two ISOs - Kali Linux 2016 and Linux Mint. I have created persistent ext2 filestore for both ISOs and configured them using the ...
0
votes
1answer
19 views

Hex has unknown character / in the output

I need to create a Rc2Key variable and then convert this to hexadecimal. I have done this with two commands. The Rc2Key variable has to be 16 characters long, so in my test module I used "...
1
vote
1answer
94 views

Create encrypted live USB Kali or Ubuntu (Debian) [closed]

I'd like to: Configure Linux os, for example Kali or Ubuntu for my needs. Then encrypt the WHOLE bootable USB drive. If it's not possible to encrypt the WHOLE USB drive, maybe leave just /boot ...
1
vote
0answers
55 views

how does systemd activate encrypted swap file on alternate partition?

I have 2 partitions: / and /data. My swap file is encrypted at /data/swap. So /etc/crypttab looks like: root_crypt UUID=6666 none luks swap /data/swap /dev/urandom swap And /etc/fstab looks like (...
1
vote
2answers
35 views

Encrypted USB with SSH keys system

I was thinking about having an encrypted USB flash memory where I would store some passwords and that kind of information. I want it to be encrypted just in case I lose it and someone finds it. I was ...
1
vote
1answer
33 views

How to force low ssh-encryption

I regulary backup my computer to my BananaPi with a Hard Disk connected. The Problem is, that the transfer speed over ssh is pretty low because the Pi can't handle AES 256 encryption quick enough. ...
1
vote
1answer
33 views

why does systemd cryptsetup try to remount the root partition already mounted?

I have /etc/crypttab as follows: sda7_crypt UUID=<...> /dev/sda8:/keyfile luks,discard,keyscript=/lib/esi/tpm_key_pass sda7_crypt is my root filesystem, so I use update-initramfs to decrypt ...
-5
votes
2answers
65 views

How can I encrypt a file with dm-crypt? [closed]

I've never encrypted files in my Linux distribution. Now I need to do that. I'm on Arch. I went to the documentation, it says that support of TrueCrypt is discontinued and after examining other ...
2
votes
1answer
66 views

How to encrypt/hide password in /etc/network/interfaces file on debian?

How can I encrypt/hide my - wpa-psk "password" - line in the /etc/network/interfaces file? Since it's uncovered and readable for everyone who can get in the file now. Or is it better that I use ...
0
votes
2answers
113 views

How to use openSSH for disc encryption at boot time (OpenSSH vs. Dropbear)

Basic setup: - Operating System: CentOS 7 (64 bit) - Grub 2 - separate boot partition with ext4 - luks encryption (aes-xts-plain64:sha512) on two disc partitions which both need to be unlocked by ...
1
vote
1answer
41 views

How do I Encrypt a Flash Drive Using SecurStick?

I am trying to use SecurStick to encrypt a flash drive. I found these instructions online. However, when I unzip the archive and place the files on my flash drive, I cannot run the SecurStick program ...
0
votes
0answers
51 views

ALERT! /dev/mapper/cryptroot does not exist. Dropping to shell!

Hello I just installed Debian on an encrypted root partition but the NVRAM entry the installer made isn't working so I boot using the following kernel parameters : rw nomodeset root=/dev/mapper/...
2
votes
0answers
70 views

mod_mono on SLES 12.1 fails to encrypt ASP.Net web.config

I am trying to migrate an ASP.Net (2.0) VB web app from a SLES 11 server to a new SLES 12 server. Unfortunately, mono is no longer supported by Novell / SUSE / NetIQ folk. This is my first time ...
2
votes
1answer
58 views

How to encrypt a live root fs remotely and unlock it via ssh

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
1
vote
2answers
48 views

RHEL: FDE w/o password - boot from key on partition

I'm trying to accomplish encrypting my OS w/ LVM on RHEL 7.2 and have it boot without entering a password by using a key on an unencrypted partition. LV VG Attr LSize Pool Origin Data% ...
3
votes
1answer
62 views

gpg: “secret key not available” when sec & pub key are in keyring

I received an file encrypted with the public key I generated but I can't get it to decrypt. Steps: gpg key-gen default options gpg --export -a <email> > pub.key sent the pub.key received ...
0
votes
2answers
30 views

Why is no second PGP possible?

I've a problem with the command "gpg --gen-key". At my very first time, I connected an eMail-Account to this and everything worked fine. I can use it and so on. No Problem. The problem is: I want to ...
2
votes
2answers
103 views

Is there any way to fully encrypt my hard-drive AFTER an installation of Linux Mint?

I'm askin myself, is there any software who can encrypt my whole hard drive with Linux Mint 17.3 on it AFTER the installation? Like TrueCrypt for Windows?! If not and I've to reinstall everthing is ...
1
vote
0answers
44 views

OpalCryptoErase.exe for linux

I have a tool name OpalCryptoErase.exe which lets me reset the encryption keys on my opal ssd disk. Of course I lose my data along the way but I don’t care I just want to reset the disk to the initial ...
0
votes
1answer
53 views

Portable linux with disk-encryption: Which type of storage is better? SD-CARD or USB-STICK

So, as stated above, I mainly address some people, which may have made some experience with a portable os and various storage-types. As we know, the good old HDD are the most durable types of disks. ...
1
vote
0answers
102 views

Error booting kernel 4.5.0-rc1 on Encrypted HDD

I cloned the Git tree of the mainline Linux Kernel and compiled it(version 4.5.0-rc1). After compiling with default configuration (make defconfig) I installed it. In the grub menu I can select this ...
1
vote
1answer
26 views

Mountable deduplicating container

I want a container that I can mount which dedups files within it. Basically, I'd like to have a simple backup solution where I mount it, copy my home folder with the name "Home (Feb 9)" and it only ...
2
votes
1answer
60 views

Information leaks out of encrypted file system

If I only encrypt the home directory, what are some common ways for information to leak out to the unencrypted part of the file system? Aside from the obvious problems like swap space files in /tmp ...
0
votes
1answer
32 views

How do can I tell what encryption is being used with signed in luks?

What command tells you what encryption is being used by a luks partition (all the relevant information initialization vector generation scheme, mode of operation and block cipher primitive).
2
votes
1answer
17 views

Is cryptsetup benchmark for single or multiple queues

Let say that cryptsetup benchmarks gives 2 GiB/s performance. Is it per queue so on 4 core processor I could read from disk at 8 GiB/s (assuming I wasn't limited by SATA etc. and it would scale ...
1
vote
1answer
93 views

NFS v4 export encrypted partition. Client mounts empty dir

I have an encrypted hard drive on my Lan Server. It was encrypted using luks/dm-crypt. The server has a NFS v4 running to share files in the Lan. It works, except for the encrypted USB hard drive. If ...
0
votes
0answers
48 views

why is sTunnel failing to launch?

im a bit stuck and need help understanding what im being told as there is nothing in the log file, i get the following error when i try and run stunnel (servermode): sudo /etc/init.d/stunnel4 start &...
0
votes
0answers
96 views

I use OpenSMTPD on OpenBSD 5.8! How can I automatically encrypt E-mail with OpenSMTPD

How can I automatically encrypt all outgoing E mail? My scenario: I use XXXX@gmail.com as my relay for all Emails my OpenSMTPD Server forwards All Emails to me as well as all Emails from somewhere to ...
1
vote
0answers
73 views

How can I mount Android encrypted FS on desktop Linux?

There is "vdc" command line utility in Android. Is there something similar for regular desktop Linux? Reading of https://source.android.com/security/encryption/ didn't help.
1
vote
1answer
73 views

Encrypting a p12 certificate

I'm trying to following this documentation (see section Create a Code Signing Certificate) in oder to encrypt a p12 file but I always receive the same warning. unknown option 'Cert.p12' Am I ...