security/tpm2-tss: Update 4.0.1 => 4.1.3 (CVE-2024-29040) Changelog: https://github.com/tpm2-software/tpm2-tss/blob/4.1.3/CHANGELOG.md - Fix warnings from portclippy. - Merge MKDIRs and RMDIRs. - Refresh patches. PR: 295403 Approved by: Tadeusz Struk <tstruk@gmail.com> (maintainer, timeout 2 weeks) Security: CVE-2024-29040 Sponsored by: UNIS Labs Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> MFH: 2026Q2e715576c4d
Port details
security/tpm2-tss 4.1.3
TPM2 Software Stack core library
Port info
- Maintainer
- tstruk@gmail.com
- Packages
- latest: 4.1.3
- Upstream
- Higher version available: 4.2.0
- Last update
- to 4.1.3 · e715576c4d
- Quarterly
- 2026Q4: 4.1.3
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install tpm2-tssinstalls 4.1.3 fromlatest; fromquarterly(2026Q4) 4.1.3- Port
# cd /usr/ports/security/tpm2-tss && make install clean- Size
- 1.2 MiB download · 10 MiB installed
- Depends on
- devel/json-c 0.19_1, ftp/curl 8.23.0, misc/libuuid 2.42.4
- License
- BSD2CLAUSE
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 4.1.3 | 4.1.3 | – |
| FreeBSD 15 | 4.1.3 | 4.1.3 | – |
| FreeBSD 14 | 4.1.3 | 4.1.3 | 4.1.3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 4.1.3 | 4.1.3 | – |
| FreeBSD 14 | 4.1.3 | 4.1.3 | 4.1.3 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 4.1.3.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (17)
*/*: Bump PORTREVISION after libuuid/libblkid switch from e2fsprogs to util-linux, to complete the bump of all users of either library that started with Alexander's commit titled '*/*: Switch to misc/libuuid and misc/libblkid' PR: 2514899eb3fb8e5b
*/*: Switch to misc/libuuid and misc/libblkid PR: 221293 PR: 251489 PR: 257070e81eda36a8
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/392e61592617a
security/tpm2-tss: Moved man to share/man Approved by: portmgr (blanket)8efdade45d
security/tpm2-tss: Update to 4.0.1 Differential Revision: https://reviews.freebsd.org/D418014f67b07108
security/tpm2-tss: Fix build with base OpenSSL PR: 262569aca6f9b18e
security/tpm2-tss: Update to 3.2.0 Changelog: https://github.com/tpm2-software/tpm2-tss/releases/tag/3.2.0 Differential Revision: https://reviews.freebsd.org/D34462d4c9792fda
security/tpm2-tss: Update to 3.1.0 Differential Revision: https://reviews.freebsd.org/D3032653dd9ecbb3
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
security/tpm2-tss: Update to 2.4.5 Submitted by: Tadeusz Struk <tadeusz.struk@intel.com> (maintainer) Differential Revision: https://reviews.freebsd.org/D290519a076ea535
security/tpm2-tss: fix build on GCC architectures Use newer GCC, base GCC can't build it: src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:49: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'decryptAllowed' src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:50: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'encryptAllowed' src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:51: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'authAllowed' MFH: 2020Q3 (fix build blanket)7a51ba54c9
- Update to 2.4.2 Submitted by: Tadeusz Struk <tadeusz.struk@intel.com> (maintainer) Differential Revision: https://reviews.freebsd.org/D259818f4b7c6fd2
Bump PORTREVISION for devel/json-c json-caabbea4dfa
- Update to 2.4.1 Submitted by: Tadeusz Struk <tadeusz.struk@intel.com> (maintainer) Differential Revision: https://reviews.freebsd.org/D24903085ad8a0c8
Add security/tpm2-tss, TPM2 Software Stack core library Submitted by: Tadeusz Struk <tadeusz.struk@intel.com> Differential Revision: https://reviews.freebsd.org/D216492bdec291a5