1 { lib, stdenv, fetchFromGitHub, autoreconfHook, cryptsetup }:
3 stdenv.mkDerivation rec {
4 pname = "bruteforce-luks";
7 src = fetchFromGitHub {
8 sha256 = "0yyrda077avdapq1mvavgv5mvj2r94d6p01q56bbnaq4a3h5kfd6";
10 repo = "bruteforce-luks";
14 nativeBuildInputs = [ autoreconfHook ];
15 buildInputs = [ cryptsetup ];
17 enableParallelBuilding = true;
22 inherit (src.meta) homepage;
23 description = "Cracks passwords of LUKS encrypted volumes";
25 The program tries to decrypt at least one of the key slots by trying
26 all the possible passwords. It is especially useful if you know
27 something about the password (i.e. you forgot a part of your password but
28 still remember most of it). Finding the password of a volume without
29 knowing anything about it would take way too much time (unless the
30 password is really short and/or weak). It can also use a dictionary.
32 license = licenses.gpl3Plus;
33 platforms = platforms.linux;