ZeroPass / dmrtd

Dart library for reading Biometric Passport
Other
68 stars 34 forks source link

Conditions of use not satisfied #32

Closed Parzivalxx closed 4 months ago

Parzivalxx commented 4 months ago

Hi, I have successfully read the contents of a Singapore passport using both BAC and PACE. However, when I try reading a Greek passport, it fails with the following error:

D/DeferrableSurface(32256): use count-1,  useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@5bd1d54
D/DeferrableSurface(32256): Surface no longer in use[total_surfaces=3, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@5bd1d54}
W/CameraDevice-JV-0(32256): Device error received, code 5, frame number 167, request ID 0, subseq ID 0
D/DeferrableSurface(32256): Surface terminated[total_surfaces=2, used_surfaces=2](androidx.camera.core.SurfaceRequest$2@5bd1d54}
W/CameraDevice-JV-0(32256): Device error received, code 4, frame number 168, request ID 0, subseq ID 0
W/CameraDevice-JV-0(32256): Device error received, code 5, frame number 168, request ID 0, subseq ID 0
W/CameraDevice-JV-0(32256): Device error received, code 5, frame number 168, request ID 0, subseq ID 0
D/DeferrableSurface(32256): use count-1,  useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@c382f3e
D/DeferrableSurface(32256): Surface no longer in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@c382f3e}
D/DeferrableSurface(32256): Surface terminated[total_surfaces=1, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@c382f3e}
D/DeferrableSurface(32256): use count-1,  useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@504014a
D/DeferrableSurface(32256): Surface no longer in use[total_surfaces=1, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@504014a}
D/DeferrableSurface(32256): Surface terminated[total_surfaces=0, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@504014a}
D/Camera2CameraImpl(32256): {Camera@e755f2a[id=0]} CameraDevice.onClosed()
D/Camera2CameraImpl(32256): {Camera@e755f2a[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED
D/CameraStateRegistry(32256): Recalculating open cameras:
D/CameraStateRegistry(32256): Camera                                       State                 
D/CameraStateRegistry(32256): -------------------------------------------------------------------
D/CameraStateRegistry(32256): Camera@684dccd[id=1]                         UNKNOWN               
D/CameraStateRegistry(32256): Camera@e755f2a[id=0]                         CLOSED                
D/CameraStateRegistry(32256): -------------------------------------------------------------------
D/CameraStateRegistry(32256): Open count: 0 (Max allowed: 1)
D/CameraStateMachine(32256): New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
D/CameraStateMachine(32256): Publishing new public camera state CameraState{type=CLOSED, error=null}
W/BpBinder(32256): Slow Binder: BpBinder transact took 3582 ms, interface=android.nfc.INfcTag, code=6 oneway=false
W/BpBinder(32256): Slow Binder: BpBinder transact took 259 ms, interface=android.nfc.INfcTag, code=6 oneway=false
I/flutter (32256): PassportError: Conditions of use not satisfied