Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to the latest 3DS2 release - 6.1.8. #7837

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

jaynewstrom-stripe
Copy link
Collaborator

@jaynewstrom-stripe jaynewstrom-stripe commented Jan 26, 2024

Summary

Closes #7823

This brings in a change from our internal repo which simply adds -dontwarn com.google.crypto.tink.subtle.XChaCha20Poly1305 to consumer proguard rules.

Copy link
Contributor

github-actions bot commented Jan 26, 2024

Diffuse output:

OLD: paymentsheet-example-release-master.apk (signature: V1, V2)
NEW: paymentsheet-example-release-pr.apk (signature: V1, V2)

          │            compressed            │           uncompressed           
          ├───────────┬───────────┬──────────┼───────────┬───────────┬──────────
 APK      │ old       │ new       │ diff     │ old       │ new       │ diff     
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼──────────
      dex │   3.9 MiB │   3.9 MiB │ +3.4 KiB │   8.5 MiB │   8.5 MiB │ +1.7 KiB 
     arsc │   2.4 MiB │   2.4 MiB │      0 B │   2.4 MiB │   2.4 MiB │      0 B 
 manifest │   5.1 KiB │   5.1 KiB │      0 B │  25.4 KiB │  25.4 KiB │      0 B 
      res │ 967.5 KiB │ 967.5 KiB │      0 B │   1.5 MiB │   1.5 MiB │      0 B 
   native │   2.6 MiB │   2.6 MiB │      0 B │     6 MiB │     6 MiB │      0 B 
    asset │     3 MiB │     3 MiB │    -13 B │     3 MiB │     3 MiB │    -13 B 
    other │ 211.2 KiB │ 211.1 KiB │    -10 B │ 471.8 KiB │ 471.8 KiB │      0 B 
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼──────────
    total │    13 MiB │    13 MiB │ +3.4 KiB │  21.9 MiB │  21.9 MiB │ +1.7 KiB 

 DEX     │ old   │ new   │ diff              
─────────┼───────┼───────┼───────────────────
   files │     1 │     1 │   0               
 strings │ 42337 │ 42302 │ -35 (+73 -108)    
   types │ 14309 │ 14324 │ +15 (+37 -22)     
 classes │ 12118 │ 12128 │ +10 (+13 -3)      
 methods │ 59673 │ 59713 │ +40 (+4135 -4095) 
  fields │ 39464 │ 39493 │ +29 (+1904 -1875) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  328 │  328 │  0   
 entries │ 7262 │ 7262 │  0
APK
     compressed      │     uncompressed     │                                
──────────┬──────────┼───────────┬──────────┤                                
 size     │ diff     │ size      │ diff     │ path                           
──────────┼──────────┼───────────┼──────────┼────────────────────────────────
  3.9 MiB │ +3.4 KiB │   8.5 MiB │ +1.7 KiB │ ∆ classes.dex                  
 54.5 KiB │    -10 B │ 153.2 KiB │      0 B │ ∆ META-INF/MANIFEST.MF         
  7.2 KiB │     -9 B │   7.1 KiB │     -9 B │ ∆ assets/dexopt/baseline.prof  
    858 B │     -4 B │     726 B │     -4 B │ ∆ assets/dexopt/baseline.profm 
   68 KiB │     +2 B │ 153.3 KiB │      0 B │ ∆ META-INF/CERT.SF             
  1.2 KiB │     -2 B │   1.2 KiB │      0 B │ ∆ META-INF/CERT.RSA            
──────────┼──────────┼───────────┼──────────┼────────────────────────────────
    4 MiB │ +3.4 KiB │   8.8 MiB │ +1.7 KiB │ (total)
DEX
STRINGS:

   old   │ new   │ diff           
  ───────┼───────┼────────────────
   42337 │ 42302 │ -35 (+73 -108) 
  + +TT;>;)
  + Android3ds2Sdk 6.1.8
  + DataDecryptionFailure
  + InvalidDataElementFormat
  + InvalidMessageReceived
  + InvalidTransactionId
  + Landroidx/fragment/app/x1;
  + Ld4/i;
  + Li4/r;
  + Lkc/w;
  + Llf/w;
  + Llf/x;
  + Lm/n4;
  + Lof/k;
  + Lqf/q1;
  + Lrf/j;
  + Lrf/k;
  + Lt/w2;
  + Lv3/m;
  + MARKET_OR_REGION_RESTRICTION
  + PERMISSION
  + PLATFORM_VERSION
  + RequiredDataElementMissing
  + TT;>;)[TT;
  + TransactionTimedout
  + UnrecognizedCriticalMessageExtensions
  + UnsupportedMessageVersion
  + [Landroidx/fragment/app/a1;
  + [Landroidx/fragment/app/d0;
  + [Landroidx/fragment/app/e1;
  + [Landroidx/fragment/app/v0;
  + [Lbg/f;
  + [Llf/l;
  + [Llf/n;
  + [Llf/u;
  + [Llf/w;
  + [Llf/x;
  + [Lm/f4;
  + [Lm/o3;
  + [Lm/v0;
  + [Lof/a;
  + [Lof/e;
  + [Lqf/d1;
  + [Lqf/q1;
  + [Lqf/v0;
  + [Lqf/x0;
  + [Lrf/e;
  + [Lrf/j;
  + [Lrf/k;
  + [Lt/d2;
  + [Lv3/e;
  + caBrandZone
  + caChallengeZone
  + caInformationZone
  + com.stripe.android.stripe3ds2@6.1.8+25
  + fromString(...)
  + getDeclaredMethods(...)
  + getEncoded(...)
  + getEncryptionMethod(...)
  + getHeader(...)
  + getOrElse(...)
  + getParcelableArrayExtra
  + getParcelableArrayListExtra
  + getPublic(...)
  + getStackTrace(...)
  + getSupportFragmentManager(...)
  + getUrl(...)
  + getX509CertChain(...)
  + requireActivity(...)
  + serialize(...)
  + toECPublicKey(...)
  + toJSONString(...)
  + ~~R8{backend:dex,compilation-mode:release,has-checksums:false,min-api:21,pg-map-id:eaa32f1,r8-mode:full,version:8.2.47}
  
  - <get-sharedPrefs>(...)
  - Android3ds2Sdk 6.1.7
  - Intent(context, Challeng…tExtras(input.toBundle())
  - JSONObject()
             …              .toString()
  - JSONObject()
             …          )
              )
  - JSONObject()
             …          }
              )
  - JSONObject()
             … createRequestContexts())
  - JSONObject()
             …D_DATA, JSONObject(data))
  - K2
  - L2
  - LLLILLLI
  - Ldd/m;
  - Llg/r;
  - Lv0/x2;
  - M2
  - N2
  - Name is null
  - No enum constant com.stripe.android.stripe3ds2.init.Warning.Severity.
  - No enum constant com.stripe.android.stripe3ds2.transactions.ChallengeRequestData.CancelReason.
  - O2
  - P2
  - Q2
  - R2
  - S2
  - T2
  - U2
  - V2
  - VLLLLLILLLL
  - W2
  - X2
  - Y2
  - Z2
  - [Landroidx/fragment/app/c0;
  - [Landroidx/fragment/app/d1;
  - [Landroidx/fragment/app/u0;
  - [Landroidx/fragment/app/z0;
  - [Ld0/g;
  - [Llf/m;
  - [Llf/t;
  - [Llf/v;
  - [Lm/e4;
  - [Lm/n3;
  - [Lm/u0;
  - [Lof/d;
  - [Lqf/c1;
  - [Lqf/p1;
  - [Lqf/s0;
  - [Lqf/w0;
  - [Lrf/f;
  - [Lt/c2;
  - [Lv3/c;
  - a3
  - acsEphemPubKey.encoded
  - applicationContext
  - args.sdkKeyPair.private.encoded
  - challengeAction
  - challengeRequest.getStri…tData.FIELD_ACS_TRANS_ID)
  - challengeText
  - com.stripe.android.stripe3ds2@6.1.7+24
  - conn.inputStream
  - context.resources.displayMetrics
  - createPublicJwk(
         …         ).toJSONString()
  - cres.getString(FIELD_ACS_COUNTER_ACS_TO_SDK)
  - decode(encodedHtml, Base64.URL_SAFE)
  - fromString(transId)
  - getDefault().country
  - getTransactionId(cresJso…RVER_TRANS_ID).toString()
  - getTransactionId(cresJso…_ACS_TRANS_ID).toString()
  - header.encryptionMethod
  - intent.extras ?: Bundle.EMPTY
  - jwe.serialize()
  - jweObject.header.encryptionMethod
  - jweObject.serialize()
  - jwsHeader.x509CertChain
  - jwsObject.header
  - methodMatcher.replaceAll(METHOD_GET)
  - parse(payloadJson.toString())
  - parseWithException(
      …ode()
          ).publicKey
  - payload.optString(FIELD_ERROR_CODE)
  - payload.optString(FIELD_ERROR_DESCRIPTION)
  - payload.optString(FIELD_ERROR_DETAIL)
  - payload.optString(FIELD_MESSAGE_VERSION)
  - protocolError
  - randomUUID()
  - request.url
  - requestBody
  - requireActivity()
  - requireContext()
  - runCatching {
            …meException(it)
          }
  - runCatching {
            …xception(error)
          }
  - sdkKeyPair.public
  - supportFragmentManager
  - t.stackTrace
  - this.defaultViewModelCreationExtras
  - uri.toString()
  - uuidValue.toString()
  - viewBinding.caBrandZone
  - viewBinding.caChallengeZone
  - viewBinding.caInformationZone
  - viewBinding.label
  - viewBinding.progressBar
  - when (ephemPubkey) {
     …        }.toECPublicKey()
  - {
                  activi…ader_label)
              }
  - {
                  super.… 
...✂

@jaynewstrom-stripe jaynewstrom-stripe force-pushed the jaynewstrom/3ds2-6.1.8 branch 2 times, most recently from 40760b8 to 2780c9a Compare January 31, 2024 14:37
@jaynewstrom-stripe jaynewstrom-stripe marked this pull request as ready for review January 31, 2024 19:35
@jaynewstrom-stripe jaynewstrom-stripe requested review from a team as code owners January 31, 2024 19:35
@jaynewstrom-stripe jaynewstrom-stripe enabled auto-merge (squash) January 31, 2024 19:35
@jaynewstrom-stripe jaynewstrom-stripe enabled auto-merge (squash) February 1, 2024 14:27
@jaynewstrom-stripe jaynewstrom-stripe merged commit bec9fb3 into master Feb 1, 2024
16 checks passed
@jaynewstrom-stripe jaynewstrom-stripe deleted the jaynewstrom/3ds2-6.1.8 branch February 1, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] R8: Missing class com.google.crypto.tink.subtle.XChaCha20Poly1305
2 participants