github-backup: 0.48.0 -> 0.49.0 (#379003)
[NixPkgs.git] / pkgs / by-name / al / alpnpass / package.nix
bloba8d77f9d8cbc845a7eb663ff91de25fbd7f3acf5
2   buildGoModule,
3   fetchFromGitHub,
4   lib,
5 }:
7 buildGoModule rec {
8   pname = "alpnpass";
9   version = "0.1";
11   src = fetchFromGitHub {
12     owner = "VerSprite";
13     repo = "alpnpass";
14     rev = version;
15     hash = "sha256-hNZqGTV17rFSKLhZzNqH2E4SSb6Jhk7YQ4TN0HnE+9g=";
16   };
18   vendorHash = null;
20   meta = with lib; {
21     description = "Inspect the plaintext payload inside of proxied TLS connections";
22     longDescription = ''
23       This tool will listen on a given port, strip SSL encryption,
24       forward traffic through a plain TCP proxy,
25       then encrypt the returning traffic again
26       and send it to the target of your choice.
28       Unlike most SSL stripping solutions this tool will negotiate ALPN and
29       preserve the negotiated protocol all the way to the target.
30     '';
31     homepage = "https://github.com/VerSprite/alpnpass";
32     license = licenses.unlicense;
33     maintainers = [ maintainers.raboof ];
34     mainProgram = "alpnpass";
35   };