Tagged Questions

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

0
votes
0answers
74 views

How to make grub mount encrypted LVM partition

I have such boot sequence: system boots from external disk, right after start it asks about password for LVM encrypted partition (which holds /root and /home), I enter it, the partitions are mounted, ...
2
votes
0answers
74 views

lsof: home folder is busy, but I never logged in as that user

I'm trying to run ecryptfs-migrate-home to encrypt my home folder, but the command keeps failing the open files check. Indeed, lsof +D "/home/will" shows the same in-use files as ...
2
votes
1answer
30 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 ...
0
votes
2answers
33 views

Setting Up VPN Practice/Service Without Access to Private Internet

I use Lubuntu 14.04. I've gotten concerned about encrypting my internet traffic after reading about the problems with public WiFi and intend to start using VPN. However, all my internet usage is on ...
1
vote
1answer
11 views

Linux Volume Encryption: Possible to specify your own Encryption Tool?

I want to use Volume Encryption on my Debian machine. Linux does have such a tool for that. But I want to use my own encryption tool to encrypt a partition. Now, is it somehow possible to specify it ...
1
vote
0answers
30 views

Does the debian setup with lvm also encrypt the swap partition?

I'm planning a fresh debian install on my notebook and want to have full disk encryption. But I mainly hibernate, which is why I want my swap to be encrypted as well. During the graphical expert ...
2
votes
1answer
48 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 ...
2
votes
1answer
43 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 ...
3
votes
0answers
40 views

SHA512 salted hash code question

I'm puzzled by the hash (ASCII) code stored under Linux (Ubuntu) /etc/shadow. Taking a hypothetical case, let password be 'test', salt be 'Zem197T4'. By running following command, $ mkpasswd -m ...
4
votes
4answers
159 views

How to identify LVM-over-LUKS or LUKS-over-LVM

I recently installed Fedora 20. I don't recall what exact options I chose for encrypting the disk/LVM during installation. It installed fine and I can log in etc. Here is the situation I have: I ...
0
votes
1answer
19 views

Simple encryption for ubuntu

How can I set an encrypted directory. Once accessed with a password, all files saved into it should be encrypted on the fly. It has to be possible to back-up as it were just a big file. And I don't ...
0
votes
0answers
95 views

Centos 7 - Encrypted installation won't boot

I installed CentOS 7 netinstall (minimal installation) on a VServer with the following partitions: /boot - 200MB - XFS / - 50GB - XFS Encrypted swap - 512MB - swap Encrypted I ...
0
votes
1answer
19 views

Getting filetype of netcat output?

How can I use the file command on an output from netcat? For example: nc 192.168.1.1 1234 dGhpcyBpcyBhIHNhbXBsZSBzdHJpbmc= dGhpcyBpcyBhIHNhbXBsZSBzdHJpbmc= being the output, (sample base64 for ...
0
votes
0answers
17 views

fsix Gold Server with Goldkey smartcard. Need to decrypt volume

I have a client that stopped paying support to WideBand and I have no clue how to get their files off that server and onto something newer. I can logon over the network but when trying to bulk copy ...
1
vote
0answers
50 views

Creating an encrypted file container as a non-root user

Linux kernel 3.2.0-64-generic here (Ubuntu LTS if someone is wondering about kernel options / modules). I have some file space on this Linux server (~ 24 GB). I would like to use this space as an ...
1
vote
1answer
73 views

full disk encryption (including swap, possibly plausible deniability as well)

I'm looking for a method to encrypt my laptop including the swap partition. I also read trough older similar questions but mostly the answer included just a what not much of a how. (Currently I'm ...
0
votes
0answers
87 views

Archlinux dm-crypt setup problem

I'm trying to setup dm-crypt to have complete encrypted volume and flash drive, that contains all the /boot partition.(i.e. in terms of archwiki I want to achieve #Plain dm-crypt(bit.ly/VNLKw0) ...
2
votes
2answers
38 views

Automount EncFS unit

How can I automount an EncFS unit at login/start my session? I use Fedora 20 and KDE. Please don't mention apps like Cryptkeeper and so. I would rather console solutions.
3
votes
1answer
127 views

md5deep utility giving wrong/different output!

md5deep utility gives different result when calculating hashes. I have used several online tools to calculate hash and they give same result but md5sum or md5deep program on linux gives different ...
3
votes
1answer
68 views

eCryptfs key in kernel image or initramfs

I have an embedded Linux system with unencrypted kernel image and initramfs in NAND flash. My RootFS is in SD card. I want to encrypted some files on SD Card as my SD card is easily accessible ...
3
votes
1answer
91 views

How to get correct scan codes for my laptop keyboard without pressing a key?

I have a problem with the keyboard of my laptop which doesn't work properly anymore. However I have full control of the laptop via ssh. The problem is that I use a self encrypting disk (Samsung 840 ...
0
votes
1answer
34 views

How to add a progress bar to cryptsetup luksFormat?

Example command. cryptsetup --hash sha512 -c aes-xts-plain64 --key-size 512 luksFormat /dev/loop0 This can take quite a while for big files / on slow disks. How to add a progress bar?
3
votes
2answers
261 views

Creating a GnuPG keyring for apache

Here's the scenario, we're using GnuPG to encrypt data between 2 web servers. 1 is on RHEL. GnuPG will be accessed through cgi scripts to encrypt and decrypt. So I need a keyring that the apache user ...
1
vote
0answers
93 views

Encrypt root file system and decrypt using U-Boot with key stored in FPGA

We are using Cyclone V, which essentially is a SOC comprised of FPGA + ARM core. Is it possible to encrypt the root file system and decrypt it by using U-Boot with a key which is located in the FPGA?
1
vote
2answers
64 views

Secure the content of a hard disk

I have to prepare a computer to give away, and I do not know who is going to use it. The computer has Debian installed, and the HDD is entirely encrypted. All users have their storage on the server. I ...
2
votes
0answers
165 views

Dual boot Linux partition scheme with encryption

I am trying to figure out how I should encrypt my machine. I am reorganizing and will have two 500GB drives. I am setting up a dual boot system (both linux). My prospective partition scheme: sda: ...
0
votes
2answers
95 views

Encrypting drive which has content

I have 2 hard drives 3TB each. The first of these drives is full with very important content. I have encrypted the second 3TB drive using the following technique: ...
0
votes
1answer
52 views

Dual Boot and encrypting Linux?

I have Windows and want to install encrypted Ubuntu (Home + Swap + System) - it giving me that option during installation when I'm choosing partitions so my question is will I be able to boot both ...
0
votes
1answer
38 views

How to encrypt data in Linux while leaving access for certain app

Is there any way to set up Linux in such a way that a regular user can not view or modify an encrypted file (located on an encrypted partition probably), while he at the same time is allowed to work ...
1
vote
0answers
50 views

How can I tell If a file is NTFS encrypted?

When I copied some files from work onto my external hard drive it copied them as encrypted files. NOTE: The drive is not encrypted - just individual files. Now when I try to copy files from the ...
1
vote
2answers
92 views

Proper options for openssl with simple ciphertext

Last weekend there was a cryptographic challenge where the ciphertext was the following hex: FC 89 BF C2 B0 5F 1C 2E 64 B8 78 43 92 78 3A C9 I know for sure that this is encrypted using ...
1
vote
1answer
100 views

GNU/Linux: automatic cloning of a system with partitions encrypted with LUKS+dm-crypt

I would like to have an up-to-date clone of a (Debian) GNU/Linux system on an external HDD and therefore be able to replace the internal HDD with the external HDD at any time and being up and running ...
3
votes
2answers
673 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
539 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
136 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 ...
1
vote
1answer
432 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
1answer
55 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
95 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
75 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 ...
0
votes
3answers
1k 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
204 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
253 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
108 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 ...
5
votes
1answer
60 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
837 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
26 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
286 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
97 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
60 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?