LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   luks Nuke-password for Mint 18.1 with cryptsetup 1.6.6 (https://www.linuxquestions.org/questions/linux-security-4/luks-nuke-password-for-mint-18-1-with-cryptsetup-1-6-6-a-4175606841/)

DexterMorgan 05-28-2017 03:16 PM

luks Nuke-password for Mint 18.1 with cryptsetup 1.6.6
 
Hi!

I'm trying to install the luks nuke-password, but without luck.

I'm trying to follow this guide:
https://askubuntu.com/questions/8218...-ubuntu/834620


Tried this:
Quote:

sudo apt-get install libgcrypt11-dev libdevmapper-dev libpopt-dev uuid-dev libtool automake autopoint debhelper xsltproc docbook-xsl dpkg-dev build-essential

wget http://deriv.debian.net/patches/c/cr...1.debian.patch

apt-get source cryptsetup
cd cryptsetup-1.6.6

patch -p1 -R < ../Debian_cryptsetup_2:1.6.6-5_Kali_cryptsetup_2:1.6.6-5kali1.debian.patch



patching file debian/changelog
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 13.
Hunk #3 FAILED at 34.
Hunk #4 FAILED at 169.
4 out of 4 hunks FAILED -- saving rejects to file debian/changelog.rej
The next patch, when reversed, would delete the file debian/patches/cryptsetup_1.6.1+nuke_keys.diff,
which does not exist! Ignore -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored
The next patch, when reversed, would empty out the file debian/patches/series,
which is already empty! Ignore -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored

I also tried to download this one:
wget http://deriv.debian.net/patches/c/cr...2.debian.patch

and apply the patch, and it works fine all the way, and installing the packages with dpkg -i ...

But with one huge problem, the cryptsetup doesn't recognize the
"luksAddNuke" option:

sudo cryptsetup luksAddNuke /dev/sda5

It just says that it's unknown, and it's like the nuke-patch never happend.

cryptsetup patches are found here: http://deriv.debian.net/patches/c/cryptsetup/


All times are GMT -5. The time now is 11:15 PM.