summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-06-01 09:57:11 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-06-01 09:57:11 +0200
commit803787d9dd32eae10857b28ee27ee5a984f7c2c7 (patch)
tree930e43806ba6ff348faf42d6d78e9ad3f0b122dd /pkgs/tools
parent06adb25e4776b6f9ed3450c331a0402c9cb6149f (diff)
downloadnixpkgs-803787d9dd32eae10857b28ee27ee5a984f7c2c7.tar
nixpkgs-803787d9dd32eae10857b28ee27ee5a984f7c2c7.tar.gz
nixpkgs-803787d9dd32eae10857b28ee27ee5a984f7c2c7.tar.bz2
nixpkgs-803787d9dd32eae10857b28ee27ee5a984f7c2c7.tar.lz
nixpkgs-803787d9dd32eae10857b28ee27ee5a984f7c2c7.tar.xz
nixpkgs-803787d9dd32eae10857b28ee27ee5a984f7c2c7.tar.zst
nixpkgs-803787d9dd32eae10857b28ee27ee5a984f7c2c7.zip
certsync: init at unstable-2023-04-14
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/security/certsync/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/security/certsync/default.nix b/pkgs/tools/security/certsync/default.nix
new file mode 100644
index 00000000000..15878c7826f
--- /dev/null
+++ b/pkgs/tools/security/certsync/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, python3
+, fetchFromGitHub
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "certsync";
+  version = "unstable-2023-04-14";
+  format = "pyproject";
+
+  src = fetchFromGitHub {
+    owner = "zblurx";
+    repo = "certsync";
+    rev = "f3c8b61f0967a6403d4c592dcbfa8921682452a6";
+    hash = "sha256-7Pzss83jf3zKmgQZki18R47OWn5VniZZ/d4N8JgZs+0=";
+  };
+
+  nativeBuildInputs = with python3.pkgs; [
+    poetry-core
+  ];
+
+  propagatedBuildInputs = with python3.pkgs; [
+    certipy-ad
+    tqdm
+  ];
+
+  pythonImportsCheck = [
+    "certsync"
+  ];
+
+  meta = with lib; {
+    description = "Dump NTDS with golden certificates and UnPAC the hash";
+    homepage = "https://github.com/zblurx/certsync";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+  };
+}