GUIDE
How NFC e-passport verification works
NFC verification reads the chip inside an e-passport or chip ID card and checks the issuing state's digital signature over the data. Unlike a photo of the document, a valid signature proves the data was written by the state and has not been altered since.
Published
What is on the chip
Documents that follow ICAO Doc 9303 (eMRTDs) carry a contactless chip. The chip stores the holder's data in numbered data groups: DG1 holds the same data as the machine-readable zone (MRZ), DG2 the facial image, and further groups hold additional details. A Document Security Object (SOD) stores a hash of every data group, signed by the issuing state.
Step 1: opening the chip
The chip does not answer to just any reader. The phone first scans the MRZ printed on the document; the access key is derived from the document number, date of birth and expiry date. With that key the phone and the chip establish an encrypted channel (BAC or PACE, then Secure Messaging), so the data cannot be read over the air without the printed page.
Step 2: Passive Authentication
Passive Authentication is the core of NFC verification. It proves two things:
- Integrity: the hash of each data group read from the chip matches the hash stored in the SOD.
- Origin: the SOD is signed by a Document Signer certificate, and that certificate chains up to the issuing country's CSCA (Country Signing Certificate Authority) certificate in a trusted store.
Step 3: proving the chip is genuine
Passive Authentication proves the data is genuine, but data can be copied onto another chip. Active Authentication and Chip Authentication close that gap: the chip proves it holds a private key that cannot be read out, so a cloned chip fails.
How IDotta uses NFC
In IDotta, NFC reading runs in the Flutter and React Native SDKs. The SOD signature and the CSCA chain are verified on our server, not on the phone. Active Authentication uses a challenge issued by our server; a chip that fails goes to manual review. The values read from the chip are compared with the declared document details, and a mismatch also goes to manual review.
The system fails closed: if the issuing country's CSCA certificate is not in our trust store, the session does not pass, it goes to review. When the chip is read, NFC Reading replaces ID verification on the bill (NFC Reading: Free; ID Verification: $0.15); the two are never charged together.
Frequently asked questions
- Is NFC verification better than a photo of the document?
- It proves more. A photo can be checked for tampering, but only the chip's signature proves the data was issued by the state. Documents without a chip are still verified from photos.
- Does NFC verification work in a web browser?
- Not in IDotta's WebSDK today: browsers cannot read the passport chip. NFC runs in the Flutter and React Native SDKs.
- What if a country's certificate is missing?
- The session is not approved automatically; it goes to manual review.