microg / microg/GmsCore

fr.banquepopulaire.cyberplus auth crash when using GmsCore

Open
#1,045 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

4-16 16:58:33.410  4657  4657 W OAuth2Manager: no default authorization set.
04-16 16:58:33.421  4753  4753 W A4SService: Service is already initialized
04-16 16:58:33.422  4657  4657 E         : 💣 Error ! ERROR-ValidationUnit(uuid=a00c36cb-27b1-47c6-801f-0e04f1722270, factors=[PasswordFactor(id=e11fe150-17e1-4c85-99be-414ad287d5de, keyboardConfig=null, scope=CTX_DACS_NUM, minSize=1, maxSize=null, password=null)])
04-16 16:58:33.422  4657  4657 E         : java.lang.IllegalStateException: Unable to extract the trust manager on AndroidPlatform, sslSocketFactory is class org.conscrypt.OpenSSLSocketFactoryImpl
04-16 16:58:33.422  4657  4657 E         : 	at okhttp3.internal.platform.Platform.buildCertificateChainCleaner(SourceFile:182)
04-16 16:58:33.422  4657  4657 E         : 	at okhttp3.OkHttpClient$Builder.sslSocketFactory(SourceFile:768)
04-16 16:58:33.422  4657  4657 E         : 	at bgj.a(SourceFile:141)
04-16 16:58:33.422  4657  4657 E         : 	at akl.a(SourceFile:272)
04-16 16:58:33.422  4657  4657 E         : 	at alg.a(SourceFile:33)
04-16 16:58:33.422  4657  4657 E         : 	at alg.get(SourceFile:11)
04-16 16:58:33.422  4657  4657 E         : 	at beo.get(SourceFile:47)
04-16 16:58:33.422  4657  4657 E         : 	at alb.a(SourceFile:33)
04-16 16:58:33.422  4657  4657 E         : 	at alb.get(SourceFile:11)
04-16 16:58:33.422  4657  4657 E         : 	at beo.get(SourceFile:47)
04-16 16:58:33.422  4657  4657 E         : 	at fr.banquepopulaire.afi.managers.impl.l.a(SourceFile:43)
04-16 16:58:33.422  4657  4657 E         : 	at fr.banquepopulaire.afi.managers.impl.l.get(SourceFile:9)
04-16 16:58:33.422  4657  4657 E         : 	at beo.get(SourceFile:47)
04-16 16:58:33.422  4657  4657 E         : 	at com.ibp.androidapp.cloudcard.ac.a(SourceFile:27)
04-16 16:58:33.422  4657  4657 E         : 	at com.ibp.androidapp.cloudcard.ac.get(SourceFile:10)
04-16 16:58:33.422  4657  4657 E         : 	at ahm.d(SourceFile:3449)
04-16 16:58:33.422  4657  4657 E         : 	at aol$ac.a(SourceFile:823)
04-16 16:58:33.422  4657  4657 E         : 	at aol$ac.apply(SourceFile:100)
04-16 16:58:33.422  4657  4657 E         : 	at cmz$a.a_(SourceFile:102)
04-16 16:58:33.422  4657  4657 E         : 	at cpy.b(SourceFile:56)
04-16 16:58:33.422  4657  4657 E         : 	at cje.a(SourceFile:3603)
04-16 16:58:33.422  4657  4657 E         : 	at cmz.a(SourceFile:49)
04-16 16:58:33.422  4657  4657 E         : 	at ciy.c(SourceFile:12267)
04-16 16:58:33.422  4657  4657 E         : 	at cng$a.d(SourceFile:475)
04-16 16:58:33.422  4657  4657 E         : 	at cng$a$a.c(SourceFile:527)
04-16 16:58:33.422  4657  4657 E         : 	at clx$a.c(SourceFile:52)
04-16 16:58:33.422  4657  4657 E         : 	at cln$a.a_(SourceFile:51)
04-16 16:58:33.422  4657  4657 E         : 	at cps$a.a_(SourceFile:60)
04-16 16:58:33.422  4657  4657 E         : 	at cqb$a.run(SourceFile:81)
04-16 16:58:33.422  4657  4657 E         : 	at cjl$b.run(SourceFile:124)
04-16 16:58:33.422  4657  4657 E         : 	at android.os.Handler.handleCallback(Handler.java:883)
04-16 16:58:33.422  4657  4657 E         : 	at android.os.Handler.dispatchMessage(Handler.java:100)
04-16 16:58:33.422  4657  4657 E         : 	at android.os.Looper.loop(Looper.java:214)
04-16 16:58:33.422  4657  4657 E         : 	at android.app.ActivityThread.main(ActivityThread.java:7356)
04-16 16:58:33.422  4657  4657 E         : 	at java.lang.reflect.Method.invoke(Native Method)
04-16 16:58:33.422  4657  4657 E         : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
04-16 16:58:33.422  4657  4657 E         : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
04-16 16:58:33.423  4657  4657 I AppCompatDelegate: The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported stack trace at okhttp3.internal.platform.Platform.buildCertificateChainCleaner and OkHttpClient$Builder.sslSocketFactory, then reproduce the fr.banquepopulaire.cyberplus authentication flow with GmsCore. Trace why the AndroidPlatform rejects org.conscrypt.OpenSSLSocketFactoryImpl; done means the authentication flow no longer crashes in this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.