Upstream recommends against using this API and we should look into adding TPM2 functionality instead if there's interest. Source: https://www.gnutls.org/manual/html_node/Trusted-Platform-Module.html
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a67a3f98ec28b607845ab6a33b2d2c5504f5b137 commit a67a3f98ec28b607845ab6a33b2d2c5504f5b137 Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2022-03-24 22:49:24 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2022-04-13 12:11:59 +0000 security/gnutls: update to 3.7.4 Switch from security/ca_root_nss to base system certificate store. Disable obsolete TPM 1.2 support. PR: 257995, 260723, 263107, 263131 Exp-run by: antoine security/gnutls/Makefile | 30 +++++++--------- security/gnutls/distinfo | 6 ++-- .../files/patch-tests_cert-tests_pkcs12.sh (new) | 14 ++++++++ security/gnutls/pkg-plist | 40 +++++++++++++++++++--- 4 files changed, 66 insertions(+), 24 deletions(-)