HomeFreeBSD

security/tpm2-tss: Add patches to avoid using /dev/tpmrm0

Description

security/tpm2-tss: Add patches to avoid using /dev/tpmrm0

FreeBSD does not have an in-kernel Resource Manager for TPM, the tools
must access the /dev/tpm0 device, either directly or through an
userland RM like tpm2-abrmd.

The default behavior of the original code is to try the in kernel RM
on /dev/tpmrm0 as first choice, this causes warnings and errors and
forces the user to override the behavior with options or environment
variables.

This patch removes the attempt to use /dev/tpmrm0 so that the programs
"just work" using the tpm0 device or through tpm2-abrmd.

PR: 286218
Approved by: maintainer
Pull Request: https://github.com/freebsd/freebsd-ports/pull/392

Details

Provenance
Andrea Cocito <andrea@cocito.eu>Authored on May 7 2025, 8:34 AM
arrowdCommitted on May 14 2025, 6:53 AM
Parents
R11:501193191b8c: misc/py-gguf: update 0.16.2.5287 → 0.16.3.5371
Branches
Unknown
Tags
Unknown