depot/third_party/nixpkgs/pkgs/development/python-modules/tpm2-pytss/fapi-config.patch
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

12 lines
404 B
Diff

diff --git a/src/tpm2_pytss/FAPI.py b/src/tpm2_pytss/FAPI.py
index 916eda6..1afba3f 100644
--- a/src/tpm2_pytss/FAPI.py
+++ b/src/tpm2_pytss/FAPI.py
@@ -23,6 +23,7 @@ logger = logging.getLogger(__name__)
FAPI_CONFIG_ENV = "TSS2_FAPICONF"
FAPI_CONFIG_PATHS = [
+ "@TPM2_TSS@/etc/tpm2-tss/fapi-config.json",
"/etc/tpm2-tss/fapi-config.json",
"/usr/local/etc/tpm2-tss/fapi-config.json",
]