about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/aeskeyfind/default.nix
blob: 4ce27f5eca66059b498295b5291e9c4b040404d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
  pname = "aeskeyfind";
  version = "1.0";

  src = fetchurl {
    url = "https://citpsite.s3.amazonaws.com/memory-content/src/aeskeyfind-${version}.tar.gz";
    sha256 = "sha256-FBflwbYehruVJ9sfW+4ZlaDuqCR12zy8iA4Ev3Bgg+Q=";
  };

  installPhase = ''
    runHook preInstall
    mkdir -p $out/bin
    cp aeskeyfind $out/bin
    runHook postInstall
  '';

  meta = with lib; {
    description = "Locates 128-bit and 256-bit AES keys in a captured memory image";
    mainProgram = "aeskeyfind";
    homepage = "https://citp.princeton.edu/our-work/memory/";
    license = licenses.bsd3;
    maintainers = with maintainers; [ fedx-sudo ];
  };

}