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

3
votes
3answers
17k views

How to Use Encrypted password in shell script AIX

I had written a shell script that will connect with the Database to perform some operations This is my sample code #!/usr/bin/ksh . /home/ram/.profile sqlplus username/pwd@TNS<<EOF select ...
1
vote
0answers
18 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 ...
2
votes
2answers
125 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 ...
2
votes
1answer
45 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 ...
20
votes
8answers
13k views

Linux boot loaders supporting full disk encryption?

Are there any Linux boot loaders supporting full disk encryption (a la TrueCrypt). I know there was work towards adding encryption support to GRUB2, but this does not seem to be ready yet. Any other ...
0
votes
0answers
123 views

Auto-mount encrypted USB issues on boot for Raspberry Pi

My previous post about what I am trying to achieve: link Essentially trying to automount and encrypted USB drive at boot. Been slowly chipping away at this and feel I get a good idea of the process ...
0
votes
0answers
9 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 ...
5
votes
2answers
13k views

How can I shrink a LUKS partition, what does `cryptsetup resize` do?

I am in progress of resizing a LUKS encrypted partition that contains a single ext4 filesystem (no LVM or something). The cryptsetup FAQ recommends to remove the old partition and recreate it, but ...
1
vote
0answers
14 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 ...
1
vote
0answers
23 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
16 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
66 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
42 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
28 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
31 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
24 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
54 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 ...
1
vote
1answer
31 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
79 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 ...
8
votes
7answers
2k views

Secure FOSS alternative to Skype on Linux & OpenBSD?

Criteria: Makes audio/video calls Encrypts the whole traffic (using good encryption) Is cross-platform (including Windows 7, etc.) Runs on modern Linux distributions (Fedora, Ubuntu, etc.) Runs on ...
1
vote
1answer
30 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
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 ...
0
votes
0answers
41 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 ...
1
vote
0answers
52 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
470 views

Formatting LUKS encrypted disk

How do I format LUKS encrypted disk if I don't know the passphrase? I recently switched my HDD for a new SSD disk in my laptop and now when I connect the old HDD externally I can't mount disk event ...
1
vote
2answers
47 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
3answers
9k views

How to Create a Encrypted Password

I want to know how can I create a encrypted password in Ubuntu 14.04 TLS. Tried this: makepasswd --crypt-md5 password_here Did not worked for me throwing this Error sysadmin@localhost:~$ ...
3
votes
1answer
41 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 ...
4
votes
3answers
440 views

Usage of pinentry with keepass2 for gpg mail encryption

Debian Jessie, XFCE 4.10, KeePass2, IceDove (with Enigmail).. I'm using KeePass2 generated passwords for my gpg private key, to de/encrypt mails. Icedove is my client which uses the enigmail. As ...
2
votes
2answers
67 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 ...
0
votes
1answer
49 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
36 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 ...
1
vote
0answers
88 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
63 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 ...
1
vote
1answer
25 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
55 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
31 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
14 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 ...
0
votes
0answers
41 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 ...
4
votes
3answers
1k views

Emacs auto encryption and gpg

Emacs encrypts/decrypts .gpg files automatically. But recently I have lost the ability to decrypt files encrypted by the Linux gpg tool and vice versa. I use: passphrase symmetric encryption gnupg ...
0
votes
0answers
74 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
1answer
51 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 ...
1
vote
0answers
57 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.
2
votes
2answers
2k views

How can I encrypt a file?

I would like to download some files from my server into my laptop, and the thing is that I want this communication to be as stealth and secure as it can be. So, far I came up using VPN, in that way I ...
0
votes
1answer
78 views

No prompt on boot with full disk encryption enabled

I am able to successfully authenticate by typing in the encryption password (and hitting return), but nothing is displayed on the screen to prompt me for this information. I tend to just "wait enough ...
9
votes
5answers
6k views

Fast Way to Randomize HD?

I've read about how to make hard drives secure for encryption, and one of the steps is to write random bits to the drive, in order to make the encrypted data indistinguishable from the rest of the ...
1
vote
0answers
34 views

Does Linux require the decryption and login passwords to be the same?

thanks for looking at this question. I have seen several other questions about eOS login loops--none solved my problem, including upgrading the kernel, deleting .Xauthority, etc. Last night I changed ...
0
votes
0answers
27 views

How does authentication work on stunnel on unix?

I am aware of how PGP cryptography works ( using private and public keys - and therefore always keeping private keys private ) but what I therefore dont understand is: why stunnel setups require a ...
0
votes
1answer
17 views

Hide/Encrypt application configuration

Is there any way to hide/crypt software config files (services such as Apache web server , Varnish and so on) from boss and others?
0
votes
0answers
88 views

Debian on encrypted partition won't boot

I just installed Debian Testing on an encrypted partition (using the encryption feature in the installer). Problem is when I boot I enter the passphrase and then Debian starts to load a bit and then ...