AquaProxy
A mitm proxy which can be used to fix https connection issues in legacy versions of Mac OS X.
Install / Use
/learn @Wowfunhappy/AquaProxyREADME
Based on code from https://github.com/kr/mitm.
To build:
- Install Go 1.19 (amd64), which requires macOS High Sierra 10.13 or higher.
1.1 Additional Go versions can be found under "Archived versions" on the Go releases page.
1.2 Although this could technically be built with an earlier version of Go, the advantage of using this version (at a minimum) is that it uses Apple's native system framework for certificate validation, which improves performance, and means the proxy respects the certificate trust settings in Keychain Access.
- In
/usr/local/go/src/crypto/x509/root_darwin.go, change:
- policies := macOS.CFArrayCreateMutable()
- defer macOS.ReleaseCFArray(policies)
sslPolicy := macOS.SecPolicyCreateSSL(opts.DNSName)
- macOS.CFArrayAppendValue(policies, sslPolicy)
+ defer macOS.CFRelease(sslPolicy)
+ trustObj, err := macOS.SecTrustCreateWithCertificates(certs, sslPolicy)
- trustObj, err := macOS.SecTrustCreateWithCertificates(certs, policies)
- Build normally with
go build. - Build MacPorts Legacy Support on Snow Leopard.
- Build wowfunhappy-legacy-support (contains fixes from https://trac.macports.org/ticket/66749#comment:2).
- Place these dylibs in
Package/Aqua\ Proxy/AquaProxy - Run
insert_dylib.shto inject the libraries.
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
