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
2answers
4k 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
0answers
728 views

Full disk encryption with dm-crypt (without LUKS)

I am currently trying to achieve full disk encryption using dm-crypt in plain mode without LUKS header with a separate /boot on USB stick. My main goal is to achive plausible deniability on a ...
0
votes
1answer
194 views

How do you encrypt a USB drive partition with the Twofish cipher and SHA-512 hash without using TrueCrypt? [closed]

I've been trying to string together the right flags in cryptsetup: cryptsetup -y -h sha512 -c twofish-xts-plain64 -s 512 luksFormat /dev/sdx But it hasn't been working. When I enter the command ...
2
votes
1answer
827 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
0
votes
2answers
90 views

Execute scripts without decrypting them

I have a set of scripts (bash, ruby, python) and want to put everything into a container like file so I can deploy this container on a lot of servers. This scripts need to protect from accessing other ...
1
vote
2answers
181 views

Strategies for userland file encryption without FDE

There are cryptography experts that are concerned over using Full Disk Encryption (FDE) on *nix platforms due to attack surface exposed due to reverse engineering of encryption algorithm when looking ...
1
vote
1answer
122 views

Encrypt my disk but allowing to enter the password with SSH

Can you help me with this problem please? I need encrypt whole disk on Debian 7.5, (it will be work as server) but I need enter encryption password via SSH. So I need encrypt whole disk except primary ...
1
vote
3answers
6k views

Obtain .cer file from .pem file

I have generated RSA private key using below command: openssl genrsa -out privkey.pem 2048 And created a self signed certificate using below command: openssl req -new -x509 -key privkey.pem -out ...
1
vote
1answer
450 views

Unable to extract modulus, exponent from pubkey.pem

I am trying to extract modulus and exponent components from public key which is in .pem file, using below command: openssl rsa -inform der -pubin -text < pubkey.pem But it is showing me below ...
2
votes
1answer
4k views

Ubuntu 14.04 hard drive partitioning help wanted

I'm in need of some assistance with manual partitioning from the Ubuntu 14.04 install GUI. I'm trying to do a fresh install of Ubuntu 14.04 desktop. I have a 60GB SSD as that I want all my OS files ...
5
votes
2answers
354 views

encrypted ext3 damaged; how to proceed?

My home partition on a Debian wheezy install is an encrypted LVM volume. It is ext3. Earlier today, I had a weird message in a terminal window about an attempt to write to a file in my /home tree ...
2
votes
0answers
179 views

expanding boot, moving LUKS root

GPT > Partition2 > LUKS > btrfs I need some additional space for my boot volume, so far I did: Shrink my btrfs volume by 250MB. btrfs resize -250M / Shrink the LUKS root volume cryptsetup ...
7
votes
1answer
135 views

Can swap be encrypted per user?

The problem arises for a multiuser computer with encrypted swap, as to how to allow each user to hibernate and resume from hibernation without compromising the security of the other users. I'm ...
4
votes
1answer
2k views

How to reset password on an encrypted fs?

I've got a laptop which I haven't used since the last summer vacation: I did put Debian 7 on it and used Debian's feature to fully encrypt the disk, besides a tiny bootloader (or a tiny partition) I ...
0
votes
1answer
36 views

What is the encryption function in Encfs?

I'm a newbie at Encfs. After I read a paper about Encfs, I figured out there is a Encryption layer in Encfs. So I tried to find exact encryption function. but I couldn't find that because there are ...
1
vote
3answers
676 views

How much storage overhead comes along with cryptsetup and ext4?

I want to encrypt the content of a directory in a container with an ext4 filesystem using cryptsetup. The size of the container should be as small as possible and as big as necessary, because I only ...
1
vote
1answer
200 views

Cryptsetup: pre-fill the partition with random data

It says it is an optional step, but it is recommended to do this, it improves encryption to pre-fill the partition with random data. What brings security filled with random data? Is it more difficult ...
1
vote
0answers
96 views

Transparent encryption of bash history?

I'm not sure if anyone has done such things before. I want bash history to be fully encrypted, prompt for password when in interactive session. Is that possible?
1
vote
2answers
1k views

What are ways to encrypt a password inside an environment variable

I have this file I use to set my username and password before exporting the value. #!/bin/bash echo -n "User:"; read user echo -n "Password:"; read -s password export ...
2
votes
3answers
11k 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 ...
0
votes
1answer
102 views

What happens to the files when they are being decrypted?

I have the server's webroot directory mounted on a partition which is being protected with LUKS encryption. I want to know what happens to the files within when that partition is being decrypted. Does ...
0
votes
0answers
34 views

Decrease crypted LVM partition

On a Linux Mint install, I used the option to use whole disk and encrypt it. Now, I want to install Windows on another partition. How I can safely decrease size of this encrypted LVM? Of course, ...
1
vote
1answer
388 views

Setting up encryption after debian wheezy install

How do you set up encryption on your home dir after the debian wheezy install. I missed the part in the graphical install that sets that up for you. I am using the automatic partition on the whole of ...
1
vote
0answers
88 views

What keys are generated during Debian 7.4 (Wheezy) installation?

We are concerned lest /dev/random (or /dev/urandom) be hit too early in the installation process for adequate entropy to be developed. In a basic Debian 7.4 installation (SSH Server and basic ...
0
votes
1answer
186 views

Cant create encrypted partitions during Debian installation

I am using debian 7.4 cd. When I set a partition as '/' during manual partition.It is fine. However when I then try to use it as 'physical volume for encryption'...everything works fine it erases and ...
3
votes
2answers
2k views

How to encyrpt a message using someone's SSL smime.p7s file

I need to send a private key file to someone (a trusted sysadmin) securely. I suggested a couple options, but he replied as follows: Hi, I don't have neither LastPass nor GnuPGP but I'm using ssl ...
3
votes
1answer
1k views

How to set laptop screen brightness just after boot with full disk encryption

my girlfriend bought Lenovo Essential G500 i5-3230 and I installed Linux Mint 16 on it with full disk encryption. It is standard installation with encryption using dmcrypt and LUKS. But there is a ...
5
votes
2answers
446 views

Writing a “telnet server” type program that uses SSH instead of telnet

So people have written server programs using telnet in which the user simply does telnet server.com and this connects them to the server program, which then provides them with a textual program they ...
3
votes
1answer
50 views

Verify that partition is encrypted

I just installed Debian and as far as I can remember I encrypted my home-partition using LVM. During the boot process I haven't been asked to enter the password. Is there any way to check whether ...
1
vote
0answers
49 views

Encrypted subversion checkout without root access

I would like to create an encrypted subversion checkout on a machine I don't have root access on. One thing I could do is checkout in a temporary directory, tar it, and subsequently encrypt with gpg, ...
2
votes
2answers
1k views

Difficulty with EncFS on Debian

I created 2 test folders: mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted oshiro@debian:~/Desktop$ ls -l total 8 drwxr-xr-x 2 oshiro oshiro 4096 Feb 15 20:34 decrypted ...
2
votes
2answers
1k views

Difficulty with EncFS on CentOS

I'm trying to figure out encfs, but am having some difficulty. This is what I have done so far: I created 2 test folders mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted ...
2
votes
2answers
382 views

GnuPG : representations of key IDs and fingerprints

In gpg's man page, there are examples of key IDs : 234567C4 0F34E556E 01347A56A 0xAB123456 234AABBCC34567C4 0F323456784E56EAB 01AB3FED1347A5612 0x234AABBCC34567C4 and fingerprints : ...
5
votes
3answers
1k views

Poor IO due to LUKS/Software RAID/LVM ordering?

I'm trying to determine if I should re-setup my RAID array due to poor IO performance. First off, the system: i7 920 4 4TB WD 5400 Green drives CentOS 6.3 host Secondly, the disk setup: ...
1
vote
2answers
302 views

Is there any shared filesystem based on public key authentication?

I normally use NFS, however I am not so comfortable with the security as basically a root user can just change his UID to an arbitrarily one in order to obtain access to a shared folder. Moreover, ...
3
votes
1answer
551 views

Arch Linux Encrypt entire drive

My Raspberry Pi is set up as a PHP MySQL (Percona) server and I think that I have managed to make it quite resilient against online attacks but it is still very vulnerable against someone just taking ...
0
votes
2answers
215 views

Can using SFTP with HMAC-RIPEMD160 replace computing file hashes before and after transferring?

As part of my job I often find myself transferring lots of files between my computer and a remote storage space accessible over SFTP. To ensure the files' correct transfer I compute their SHA256 ...
2
votes
0answers
94 views

Is a virtual encrypted disk stored in a file on a NAS allowing for concurrent R/W access?

I'd like that all the data stored in a NAS is encrypted. The NAS is used for a) daily backups AND b) as a shared hard disk for users, allowing thus concurrent read/write access. All machines are ...
1
vote
2answers
1k views

How do I mount my encrypted private home directory if I forgot the password?

On Ubuntu 12.04, how can I access encrypted private home directory? I forgot my root password at some point and my root home folder is locked. I am now using another account in root group so can I get ...
3
votes
1answer
2k views

Verify if a hard drive is encrypted on Linux

How can I verify if a hard drive is encrypted in Fedora 20? If not, does it mean I have to re install Fedora to encrypt it?
6
votes
1answer
688 views

Trying to understand LUKS encryption

I decided to encrypt my root partition with LUKS+LVM. My ThinkPad setup: Samsung 830 128GB SSD 750GB HDD Core 2 Duo 2,5 GHz P9500 8GB RAM But the more I read, the less I understand about those ...
1
vote
2answers
347 views

Does DM-Crypt partition look like random noise?

If I format partition with dm-crypt does its entry in partition table suggest somehow that this partition is encrypted or for someone from outside it looks like regular partition with random noise ...
3
votes
2answers
589 views

Dropbox/Copy.com & Truecrypt

I have a partition that contains all my personal stuff, which is mounted at boot under /home/myuser/foo. I would like to synchronize it on the cloud via Dropbox or Copy.com, but I don't trust them, so ...
3
votes
2answers
160 views

Does using full-disk encryption affect the probability of losing data in case of storage errors?

So.. if there is a bad block on the HDD, what can survive better? not using FDE (full disc encryption) using FDE - since the whole disk has "1 partition" - the encrypted one, isn't it more likely to ...
3
votes
3answers
1k views

Best practice to backup a LUKS encrypted device

What's the fastest method to backup and restore a luks encrypted device (e.g. a full encrypted usb-device to a image-file). The usb-device can be decrypted/accessed. I'm looking for a solution to ...
0
votes
0answers
128 views

Encrypted Zorin 7 Partition HELP!

I had Zorin 7 Encrypted Harddrive option installed on my laptop. I accidentally deleted important GRUB data trying to make more room in the boot folder i think? So the computer would no longer boot ...
3
votes
3answers
516 views

Best way to benchmark different encryption solutions on my system

I want to compare different encryption solutions for encrypting my system, possibly different solutions for different parts of the system such as /usr or /home. In particular I look at dm-crypt ...
3
votes
3answers
850 views

Use EncFS to encrypt files so that a particular user or process can access them, but root cannot

I have a process which I would like to have access to an encrypted file system. This is very easy to do with EncFS, but this requires a user mounting the encrypted file system, therefore giving any ...
1
vote
1answer
162 views

How can I unlock a self encrypting disk using an sata usb adapter

Suppose I plug in a self encrypting disk (for example the samung 840 pro) via a sata usb adapter to a linux-box. Suppose I know the password. How can I access the hard-drive in this case?
5
votes
2answers
522 views

How to get a usable full disk encryption with different encryptions for different users

I want to have a full system encryption on my laptop. But I have two users, one for home and one for work and want a separate encryption for both. Sure I could do a full disk encryption with dm-crypt ...