summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/au/authenticodeCheckHook/package.nix
blob: caf2a3ba2fadea76d1ed146d65e39250463445ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  lib,
  makeSetupHook,
  pesign,
}:

makeSetupHook {
  name = "authenticode-check-hook";

  substitutions = {
    pesigcheck = lib.getExe' pesign "pesigcheck";
  };

  meta = {
    description = "Setup hook for verifying Authenticode signatures";
    inherit (pesign.meta) platforms;
    teams = [ lib.teams.boot-security ];
  };
} ./setup-hook.bash