Repository navigation
0.1.1
The first release of the library and the sample app.
Library
implementation("io.github.munkchunk:android-passport-reader:0.1.1")On Maven Central, for minSdk 29 and up. 0.1.0 was published to Central as passport-reader; use the coordinate above. The README shows the one packaging line an app needs.
Reads the chip in a TD3 ePassport over BAC or PACE, with chip authentication where the chip offers it, and returns the holder's details, the DG2 face image and a verification report: the document signature, the chain to a trusted CSCA, every data-group hash, and the chip-authenticity checks.
Sample app
passport-reader-sample-0.1.1.apk reads a passport and shows everything the chip holds, with the MRZ typed in or scanned by the camera. It needs an NFC phone running Android 10 or later and has no network access.
Check the download:
SHA-256 c07c7f32da27136e2cd017f50dbb9fd01d1a20d697645fcf126cbe673c1a0f3f
It is signed with this certificate (apksigner verify --print-certs):
CN=Iain Griffiths
SHA-256 04:C4:F9:CF:49:A5:E7:26:0D:65:60:F9:FB:09:CA:9D:82:02:A3:34:53:27:F8:DE:B9:18:8F:57:93:11:9D:4A
Known limitations
TD3 passports only; six countries have no trust anchor in the bundled CSCA list; Terminal Authentication is not reachable through the API yet. See the README.