[MacPorts] #66749: Add SecTrustEvaluateWithError to allow Go binaries built with 1.19+ to run on older systems
MacPorts
noreply at macports.org
Mon Jan 23 04:09:23 UTC 2023
#66749: Add SecTrustEvaluateWithError to allow Go binaries built with 1.19+ to run
on older systems
-------------------------+----------------------------
Reporter: krackers | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: legacy-support
-------------------------+----------------------------
Since the change https://go-review.googlesource.com/c/go/+/353132 Go now
calls into libSecurity's SecTrustEvaluateWithError for certificate
validation. As a result, even with a legacySupport dylib injected to shim
the missing libc functions Go needs, because SecTrustEvaluateWithError is
present only on 10.14+, binaries will still refuse to run on older
versions.
Older versions do have a SecTrustEvaluate which does the same validation
but returns its output in a slightly different format. Hence it should not
be too hard to write a wrapper.
This would also resolve https://trac.macports.org/ticket/65178
--
Ticket URL: <https://trac.macports.org/ticket/66749>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list