Read and validate an NFC e-passport chip using ICAO 9303 standards and verify the MRZ

domain: identity-general · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Extract the Machine Readable Zone string from the document via OCR or barcode scan and parse the three-line MRZ for document number, date of birth, date of expiry, and check digits
  2. Verify each check digit in the MRZ using the ICAO 9303 check digit algorithm (weighted modulo 10) to confirm the MRZ was read correctly
  3. Establish Basic Access Control or PACE with the passport chip using keys derived from the MRZ data to authenticate to the chip
  4. Read data group 1 (DG1) for the MRZ data stored on chip and compare it against the optically read MRZ to detect alterations
  5. Read data group 2 (DG2) for the facial image stored on chip and optionally perform a face match against a live selfie
  6. Verify the Document Security Object (SOD) passive authentication signature using the issuing country certificate chain to confirm chip data integrity

Known gotchas

Related routes

Implement in-person mDL (mobile driver's license) presentation using ISO 18013-5 over NFC or BLE
iso.org · 5 steps · unrated
Implement OCPI 2.2.1 token authorization flow between a CPO and an eMSP so RFID tokens can be validated in real time at a charge point
evroaming.org · 6 steps · unrated
Issue and verify a reusable identity credential using ISO 18013-5 mobile driving license and OpenID for Verifiable Presentations
identity-general · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp