Commit Graph
12 Commits
Author SHA1 Message Date
Tim Perry f77528bc91 Pre-init classes to fix OkHttp tests on API 30 2026-07-31 19:42:14 +02:00
Tim Perry 5c8d593f97 Fix config PinSet unpinning script for Android 15+ 2026-07-31 16:12:48 +02:00
Tim Perry 6efeaa21e3 Fix config PinSet unpinning script for Android 15+ 2026-07-31 16:12:47 +02:00
Tim Perry 8472f2ca05 Hook google play services Conscrypt too 2026-05-11 13:38:11 +02:00
Tim Perry ecf9f429f3 Disable CT in native Conscrypt as well in Frida hooks
This is going to become more important in Android 17, which enables CT
far more aggressively.
2026-05-11 13:20:07 +02:00
xehpukandGitHub 73b2597239 Patch com.android.org.conscrypt.ct.CertificateTransparency->checkCT
I had this error:

```
 !!! --- Unexpected TLS failure --- !!!
      CertificateException: Certificate chain does not conform to required transparency policy: NOT_ENOUGH_SCTS
      Thrown by com.android.org.conscrypt.ct.CertificateTransparency->checkCT
      [ ] Unrecognized TLS error - this must be patched manually
```

This patch fixes it.
2025-12-20 01:00:57 +01:00
Tim Perry de4493d1f7 Disable hostname verification for our CA certificate only
We previously left this in, since it's generally better to follow TLS
rules, but there's one case where it matters: when a client sends a
request without using SNI, and so the proxy may not show the right
certificate. We want to allow that, and to do so we need to ensure that
hostname checks are skipped (but only for our CA - not for any others,
which must still follow normal TLS rules).
2023-11-13 22:47:25 +01:00
Tim Perry 4cb2d44f6c Use targetMethod.call(this...) over this.[method](...)
This avoids the potential for bugs (calling the method directly does
dynamic lookup based on argument types, which may not match the called
method in ambiguous cases, e.g. int vs double are indistinguishable in
JS) and improves performance (skipping any dynamic method lookup).
2023-11-08 14:26:19 +01:00
Tim Perry 676627d01f Handle the signature of built-in okhttp.Address in Android Nougat 2023-11-07 18:21:32 +01:00
Tim Perry ae11390aee Add source & license info to script header comment 2023-10-23 17:49:41 +02:00
Tim Perry e126af2902 Expand and polish up the per-script documentation 2023-10-23 17:43:40 +02:00
Tim Perry 50a23a38be Update README and move Android-specific scripts into a subdirectory 2023-10-23 16:48:30 +02:00