SkillAgentSearch skills...

AquaProxy

A mitm proxy which can be used to fix https connection issues in legacy versions of Mac OS X.

Install / Use

/learn @Wowfunhappy/AquaProxy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Based on code from https://github.com/kr/mitm.

To build:

  1. 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.

  1. 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)
  1. Build normally with go build.
  2. Build MacPorts Legacy Support on Snow Leopard.
  3. Build wowfunhappy-legacy-support (contains fixes from https://trac.macports.org/ticket/66749#comment:2).
  4. Place these dylibs in Package/Aqua\ Proxy/AquaProxy
  5. Run insert_dylib.sh to inject the libraries.

Related Skills

View on GitHub
GitHub Stars18
CategoryDevelopment
Updated1mo ago
Forks2

Languages

Go

Security Score

75/100

Audited on Feb 23, 2026

No findings