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.
This commit is contained in:
xehpuk
2025-12-20 01:00:57 +01:00
committed by GitHub
parent d92220dedd
commit 73b2597239
+10 -1
View File
@@ -130,6 +130,15 @@ const PINNING_FIXES = {
}
],
// --- Native Conscrypt CertificateTransparency
'com.android.org.conscrypt.ct.CertificateTransparency': [
{
methodName: 'checkCT',
replacement: () => NO_OP
}
],
// --- Native pinning configuration loading (used for configuration by many libraries)
'android.security.net.config.NetworkSecurityConfig': [
@@ -536,4 +545,4 @@ Java.perform(function () {
});
console.log('== Certificate unpinning completed ==');
});
});