1{ lib
2, python3
3, fetchFromGitHub
4}:
5
6python3.pkgs.buildPythonApplication rec {
7 pname = "certsync";
8 version = "unstable-2023-04-14";
9 format = "pyproject";
10
11 src = fetchFromGitHub {
12 owner = "zblurx";
13 repo = "certsync";
14 rev = "f3c8b61f0967a6403d4c592dcbfa8921682452a6";
15 hash = "sha256-7Pzss83jf3zKmgQZki18R47OWn5VniZZ/d4N8JgZs+0=";
16 };
17
18 nativeBuildInputs = with python3.pkgs; [
19 poetry-core
20 ];
21
22 propagatedBuildInputs = with python3.pkgs; [
23 certipy-ad
24 tqdm
25 ];
26
27 pythonImportsCheck = [
28 "certsync"
29 ];
30
31 meta = with lib; {
32 description = "Dump NTDS with golden certificates and UnPAC the hash";
33 homepage = "https://github.com/zblurx/certsync";
34 license = licenses.mit;
35 maintainers = with maintainers; [ fab ];
36 };
37}