pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58973: security/botan3 ignores system trust anchors for TLS



>Number:         58973
>Category:       pkg
>Synopsis:       security/botan3 ignores system trust anchors for TLS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 07 19:25:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The NetBotanD Foundtrustanchors
>Environment:
>Description:
Instead of respecting system TLS trust anchors, security/botan depends on security/mozilla-rootcerts and hard-codes the static, non-configurable cacert.pem from that for TLS trust anchors.

For more details, see PR pkg/58143: security/gnutls uses wrong trust anchors <https://gnats.netbsd.org/58143>.
>How-To-Repeat:
code inspection
>Fix:
1. Use new mk/ssl.mk.
2. Pass SSLCERTBUNDLE as --system-cert-bundle to configure.
3. Make sure this makes sense -- that is, make sure it is used for TLS trust anchors and not, say, S/MIME trust anchors.



Home | Main Index | Thread Index | Old Index