3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/tpm2-tools
Stig Palmquist d7564b07c8 tpm2-tools: remove nested wrappers
symlinks like `tpm2_createprimary -> tpm2` were wrapped, causing argv0
issues due to double wrapping:

   $ tpm2_ptool init
   [..]
   RuntimeError: Could not execute tpm2_createprimary: b'ERROR:
   /nix/store/[..]/bin/.tpm2_createprimary-wrapped: unknown tool.

This patch only wraps the `tpm2` and `tss2` executables, and not the
symlinks to them `tpm2_*` and `tss2_*`
2021-04-27 19:38:29 +02:00
..
default.nix