diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-20 10:31:53 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-20 10:31:53 +0100 |
commit | cc9e3666916c9be95a8c201459b36adc0810b9f6 (patch) | |
tree | dfba752d1706bfb0788672cc9ac19ef19a7260a8 /pkgs/by-name | |
parent | d08965eda2fa4107af04f9839d460a3fd1372d90 (diff) |
padre: init at 2.1.0
Advanced exploiting tool for Padding Oracle attacks against CBC mode encryption https://github.com/glebarez/padre
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/pa/padre/package.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/pa/padre/package.nix b/pkgs/by-name/pa/padre/package.nix new file mode 100644 index 0000000000000..aefea32d53863 --- /dev/null +++ b/pkgs/by-name/pa/padre/package.nix @@ -0,0 +1,33 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "padre"; + version = "2.1.0"; + + src = fetchFromGitHub { + owner = "glebarez"; + repo = "padre"; + rev = "refs/tags/v${version}"; + hash = "sha256-UkL0EydwQfZl4HVtXiU8AyLJnzqBwECIgwm3bpQvyes="; + }; + + vendorHash = "sha256-BBDGnz8u2FEKwuTP9DKz6FoODaW4+VFcL36lumoYTb8="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "Advanced exploiting tool for Padding Oracle attacks against CBC mode encryption"; + homepage = "https://github.com/glebarez/padre"; + changelog = "https://github.com/glebarez/padre/releases/tag/v${version}"; + # https://github.com/glebarez/padre/issues/28 + license = licenses.unfree; + maintainers = with maintainers; [ fab ]; + mainProgram = "padre"; + }; +} |