You are not logged in.

#1 2014-01-15 20:26:18

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

["SOLVED"] cryptsetup luksOpen runs forever when using key file

I have a LUKS encrypted partition, that is unmounted
using an encrypted key file.

To open the partition i run:

gpg --decrypt KEYFILE | sudo cryptsetup luksOpen --key-file=- DEVICE NAME

After my last system update, which included new version of Linux, libgcrypt and
cryptsetup (new pkgver because of new version of libgcrypt) and a reboot, this
does not work anymore. Now `cryptsetup` runs at circa 100 % CPU usage forever.

For troubleshooting I have decrypted my key file and am running as root with
the same results:

cryptsetup luksOpen --key-file=DECRYPTED DEVICE NAME

I have verified that my key file is not corrupted and neither should the partition be
since it contains multiple backup superblocks and the disc only have two bad sectors
(as many as when it worked.)

Last edited by Hibernate (2014-01-15 22:03:18)

Offline

#2 2014-01-15 21:38:57

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: ["SOLVED"] cryptsetup luksOpen runs forever when using key file

Offline

#3 2014-01-15 22:00:56

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: ["SOLVED"] cryptsetup luksOpen runs forever when using key file

Guess I should have made a smaller key file.

Offline

Board footer

Powered by FluxBB