I've shared this before, but back in 2024 the @hipcheck.mitre.org team found a macOS libgit2 bug where error messages could be dropped, so you'd get "SecureTransport error: (null)". Credit to @venusblon.de for the fix!
github.comAdd more robust reporting to SecureTransport errors on macos by vcfxb · Pull Request #6848 · libgit2/libgit2This pull request ensures errors from SecureTransport on macos are handled properly when CFStringGetCStringPtr returns null. This occurs when the string encoding conversion is not cheap/efficient.
...
1 repost2 likes