-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Firstly, I need to thank you immensely for sharing this open source project. You are an epitome of Open Source contributor.
I have cloned, built the app successfully by just changing gradle version and SDK versions to more recent.
Updated hard-codings to use passport #, DOB, DOE in use.
Tried to run on a passport and gave me the following error.
Any help with this would be even more useful in understanding its working.
Error log:
2020-07-22 12:40:28.756 3848-4171/? D/GameManagerService: identifyGamePackage. bg.bozho.emrtdreader, mCurrentUserId: 0, callerUserId: 0
2020-07-22 12:40:28.756 3848-4171/? D/GamePkgDataHelper: getGamePkgData(). bg.bozho.emrtdreader
2020-07-22 12:40:28.759 3848-4580/? D/GameManagerService: identifyGamePackage. bg.bozho.emrtdreader, mCurrentUserId: 0, callerUserId: 0
2020-07-22 12:40:28.759 3848-4580/? D/GamePkgDataHelper: getGamePkgData(). bg.bozho.emrtdreader
2020-07-22 12:40:28.769 15952-15952/bg.bozho.emrtdreader I/DecorView: createDecorCaptionView >> DecorView@811a1ca[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
2020-07-22 12:40:28.979 15952-15952/bg.bozho.emrtdreader I/org.jmrtd: DEBUG: isExtendedAPDULengthSupported: false
2020-07-22 12:40:29.013 15952-15952/bg.bozho.emrtdreader I/org.jmrtd: DEBUG: key derivation uses digestAlg = SHA-1
2020-07-22 12:40:29.013 15952-15952/bg.bozho.emrtdreader I/org.jmrtd: DEBUG: key derivation uses digestAlg = SHA-1
2020-07-22 12:40:31.026 15952-15952/bg.bozho.emrtdreader W/org.jmrtd: BAC failed
2020-07-22 12:40:31.026 15952-15952/bg.bozho.emrtdreader W/System.err: net.sf.scuba.smartcards.CardServiceException: Tag was lost.
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at net.sf.scuba.smartcards.IsoDepCardService.transmit(IsoDepCardService.java:113)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at org.jmrtd.PassportApduService.transmit(Unknown Source:3)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at org.jmrtd.PassportApduService.sendMutualAuth(Unknown Source:118)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at org.jmrtd.PassportService.doBAC(Unknown Source:29)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at org.jmrtd.PassportService.doBAC(Unknown Source:15)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at bg.bozho.emrtdreader.MainActivity.onCreate(MainActivity.java:94)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.Activity.performCreate(Activity.java:7327)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.Activity.performCreate(Activity.java:7318)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3257)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
2020-07-22 12:40:31.027 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
2020-07-22 12:40:31.028 15952-15952/bg.bozho.emrtdreader W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
2020-07-22 12:40:31.028 15952-15952/bg.bozho.emrtdreader W/System.err: at android.os.Looper.loop(Looper.java:214)
2020-07-22 12:40:31.028 15952-15952/bg.bozho.emrtdreader W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7050)
2020-07-22 12:40:31.028 15952-15952/bg.bozho.emrtdreader W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2020-07-22 12:40:31.028 15952-15952/bg.bozho.emrtdreader W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
2020-07-22 12:40:31.028 15952-15952/bg.bozho.emrtdreader W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
2020-07-22 12:40:31.043 3307-3307/? I/SurfaceFlinger: id=35957 createSurf (5920x5920),2 flag=4, 9e56092 bg.bozho.emrtdreader/bg.bozho.emrtdreader.MainActivity#0
2020-07-22 12:40:31.046 15952-15952/bg.bozho.emrtdreader D/InputTransport: Input channel constructed: fd=73
2020-07-22 12:40:31.046 15952-15952/bg.bozho.emrtdreader D/ViewRootImpl@b3e117a[MainActivity]: setView = DecorView@811a1ca[MainActivity] TM=true MM=false
2020-07-22 12:40:31.048 15952-15952/bg.bozho.emrtdreader D/ViewRootImpl@abda109[MainActivity]: setWindowStopped(true) old=false
2020-07-22 12:40:31.063 15952-15952/bg.bozho.emrtdreader D/ViewRootImpl@b3e117a[MainActivity]: dispatchAttachedToWindow
Additional Info
Validating against app from Play store, ReadID, these are the embedded chip details am trying:
Chip info:
LDS version: 1.7
Features: BAC
DGs: 1, 2
Validity info:
Type of access control: BAC
Active authentication: NOT PRESENT (not supported)
Chip authentication: NOT PRESENT (not supported)
DG hashes: SUCCEEDED (All hashes matched)
Document Signer: SUCCEEDED (Signature checked)
Country Signer: SUCCEEDED (Found a chain to a trust anchor)