diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/certipy')
-rw-r--r-- | nixpkgs/pkgs/tools/security/certipy/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/certipy/default.nix b/nixpkgs/pkgs/tools/security/certipy/default.nix new file mode 100644 index 000000000000..536a1a502adb --- /dev/null +++ b/nixpkgs/pkgs/tools/security/certipy/default.nix @@ -0,0 +1,40 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "certipy"; + version = "2.0"; + + src = fetchFromGitHub { + owner = "ly4k"; + repo = "Certipy"; + rev = version; + hash = "sha256-xN0DrLrxWNCEy3HodA1pOJHYhDyA1sMRVIfefbXq45E="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + asn1crypto + dnspython + dsinternals + impacket + ldap3 + pyasn1 + pycryptodome + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "certipy" + ]; + + meta = with lib; { + description = "Tool to enumerate and abuse misconfigurations in Active Directory Certificate Services"; + homepage = "https://github.com/ly4k/Certipy"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |