Hook google play services Conscrypt too

This commit is contained in:
Tim Perry
2026-05-11 13:38:11 +02:00
parent f6a328cfff
commit 8472f2ca05
2 changed files with 9 additions and 1 deletions
+7
View File
@@ -146,6 +146,13 @@ const PINNING_FIXES = {
}
],
'com.google.android.gms.org.conscrypt.ct.CertificateTransparency': [
{
methodName: 'checkCT',
replacement: () => NO_OP
}
],
// --- Native pinning configuration loading (used for configuration by many libraries)
'android.security.net.config.NetworkSecurityConfig': [
@@ -43,7 +43,8 @@ Java.perform(() => {
[
'com.android.org.conscrypt.TrustedCertificateIndex',
'org.conscrypt.TrustedCertificateIndex', // Might be used (com.android is synthetic) - unclear
'org.apache.harmony.xnet.provider.jsse.TrustedCertificateIndex' // Used in Apache Harmony version of Conscrypt
'org.apache.harmony.xnet.provider.jsse.TrustedCertificateIndex', // Used in Apache Harmony version of Conscrypt
'com.google.android.gms.org.conscrypt.TrustedCertificateIndex', // Google Play Services bundled Conscrypt
].forEach((TrustedCertificateIndexClassname, i) => {
let TrustedCertificateIndex;
try {