Thanks for the prompt response. Ok, the key to my partition is a file based key, which is GPG encrypted. In order to use the key, I need to enter the password to GPG to decrypt the key, so that it can be used by cryptsetup. As far as I know there is no way to get crypttab working in this scenario.
Hello,
I hope someone can help me with this.
I have an encrypted loopback volume.
I need to mount and umount manually the volume so I use cryptsetup luksOpen and cryptsetup luksClose .
However, When I invoke this command it pops up the /dev/mapper device under all the sessions under gnome/xfce/kde/unity ...
And then it let the user to mount (with password), expulse and unmount the volume.
It's quite annoying in a multi user server (you ar
Hi
How can I enable Numlock on early boot when cryptsetup is prompting for a password? I need something like localectl / /etc/vconsole.conf to change the settings.
numlockx does not help since I am not in an X envrionment.
some people (e.g.
I encrypted a 64GB USB with plain dm-crypt/cryptsetup as follows.
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 that sounds like wasting a lot time. Therefore I want to proceeed by manually, carefully resizing the partition.
So far, I think that I need to do:
Unmount the existing ext4 filesystem (e.g.
I have an encrypted loopback volume.
I created an encrypted container via
#!/bin/bash
dd if=/dev/zero of=$1 bs=1 count=0 seek=1G
MAPPER=$(mktemp -up /dev/mapper)
LOOPDEV=$(losetup --find --show dm1)
cryptsetup luksFormat $LOOPDEV
cryptsetup luksOpen $LOOPDEV $(basename $MAPPER)
mkfs.ext3 $MAPPER
cryptsetup luksClose $MAPPER
losetup -d $LOOPDEV
i.e. a file e.g.
#!, Ubuntu, etc. prompt me to enter a password when I insert a LUKS-encrypted USB drive. I formated the drive under Ubuntu and chose to encrypt the device.I am familiar with cryptsetup, etc., but I don't know the parameters required to mount it manually.