Skip to main content

NFC Passport Verification: A Deep Dive

Explore the intricacies of NFC passport verification, the PACE protocol, BAC key derivation, and ePassport security. Learn how Didit leverages this technology for secure identity verification.

NFC Passport Verification: A Deep Dive

Contents

In this guide

Jump to the part you need.

NFC Passport Verification: A Deep Dive

In today's digital landscape, verifying identity online is paramount. While traditional methods often rely on document image analysis, a more secure and efficient approach is gaining traction: NFC passport verification. This technology leverages the Near Field Communication (NFC) capabilities embedded in modern electronic passports (ePassports) to establish trust and combat fraud. This article provides a comprehensive exploration of NFC passport verification, delving into the underlying technologies like the PACE protocol and BAC key derivation, and explaining how it enhances ePassport security.

Key Takeaway 1: NFC passport verification offers a significantly more secure identity check than traditional document scanning due to cryptographic proof of authenticity.

Key Takeaway 2: The PACE protocol is critical for protecting sensitive data during the communication between the passport and the reader, preventing eavesdropping attacks.

Key Takeaway 3: BAC (Basic Access Control) key derivation is a complex process that ensures only authorized readers can access the personal data stored on the ePassport chip.

Key Takeaway 4: Implementing NFC passport verification requires adherence to strict standards like ICAO 9303 to ensure interoperability and security.

Understanding ePassports and NFC Technology

ePassports, conforming to International Civil Aviation Organization (ICAO) Document 9303, contain a chip embedded within the passport booklet. This chip stores the same visual data printed on the passport’s data page – name, date of birth, nationality – along with a digital photograph. Crucially, this data is digitally signed by the issuing country, making it tamper-evident. NFC technology provides a short-range, high-frequency wireless communication protocol that enables secure data exchange between the ePassport and a compatible reader. This communication typically occurs within a range of a few centimeters.

What ICAO 9303 standardizes

For the chip, ICAO 9303 sets three things: the Logical Data Structure with its numbered data groups (Part 10), the security mechanisms such as BAC, PACE, Passive Authentication, Active Authentication and Chip Authentication (Part 11), and the public key infrastructure used to sign passport data (Part 12). That common framework is what allows a passport issued in one country to be read and checked by a system in another without bilateral integrations.

The Role of BAC: Basic Access Control

The Basic Access Control (BAC) system is the foundational security layer in ePassports. It’s designed to prevent unauthorized access to the sensitive data stored on the chip. BAC employs a cryptographic key derivation process to authenticate both the passport and the reader. Here’s how it works:

  1. Document Signature (DS): A unique digital signature is generated by the issuing country and embedded in the passport chip.
  2. Access Keys: The ePassport chip contains several keys, including the Chip Authentication Signing Key (CA SK) and the Document Signature Key (DSK).
  3. Key Derivation: The reader uses information printed on the passport's Machine Readable Zone (MRZ) – passport number, date of birth, expiry date, issuing country code – as input to a specific algorithm (defined by ICAO 9303) to derive a session key.
  4. Authentication: This derived session key is then used to authenticate the passport chip. If the authentication is successful, the reader can access the data.

Successful BAC authentication proves that the passport is genuine and hasn’t been tampered with. Without the correct MRZ data and knowledge of the ICAO key derivation algorithms, accessing the data is impossible.

Passive Authentication and the Document Security Object

BAC controls access to the chip. It does not, by itself, prove that the data in the chip was issued by a legitimate authority. That proof comes from Passive Authentication. The chip stores a Document Security Object (SOD), a signed structure that contains hashes of the data groups on the passport. The issuing country signs the SOD with its document signing key.

A reader checks the Document Signer certificate in the SOD against the issuing country's CSCA (Country Signing Certificate Authority) certificate, verifies the SOD signature, then recomputes the data group hashes and compares them with the values in the SOD. If the signature chain is trusted and the hashes match, the data has not changed since issuance. Passive Authentication and BAC are separate controls and should not be confused.

The PACE Protocol: Enhancing Communication Security

While BAC provides authentication, the initial communication channel between the passport and the reader is vulnerable to eavesdropping attacks. This is where the PACE (Passive Authentication Cryptographic Element) protocol comes into play. PACE establishes a secure, encrypted communication channel before any sensitive data is exchanged.

PACE utilizes asymmetric cryptography. The passport chip generates a unique key pair – a public key and a private key. The public key is transmitted to the reader, and the reader uses this key to encrypt a random challenge. The passport chip then decrypts this challenge using its private key and sends back a response. This exchange proves that the passport possesses the correct private key without ever revealing it, establishing a secure channel. This prevents man-in-the-middle attacks and ensures data confidentiality.

Practical Considerations and Implementation

Implementing NFC passport verification requires specialized hardware and software. Readers must comply with ICAO 9303 standards and support the BAC and PACE protocols. Here are some key considerations:

  • Reader Certification: Using certified readers ensures compatibility and adherence to security standards.
  • Secure Element: The reader itself needs a secure element to protect the cryptographic keys used in the BAC process.
  • Software Development Kit (SDK): Integrating NFC passport verification into applications requires a robust SDK.
  • Data Privacy: Handling personal data from ePassports requires strict adherence to data privacy regulations like GDPR.

The NFC passport verification flow

A typical NFC passport check combines access control, channel security and data integrity. The exact order can vary by reader and passport, but the main steps are these.

  1. NFC initiation: The user holds the passport against an NFC-capable phone or reader, which selects the passport application on the chip.
  2. Channel establishment: The reader and chip establish a protected channel. PACE is used when the passport and reader support it; BAC is the older fallback.
  3. Data group reads: The reader reads the data groups it needs, such as DG1 (the MRZ data) and DG2 (the facial image).
  4. Passive Authentication: The reader validates the SOD signature and checks the data group hashes against the read data.
  5. Clone check: Where the chip supports it, Active Authentication or Chip Authentication proves the chip holds a private key that cannot be copied. Passive Authentication alone shows the data is genuine, not that the chip is the original.
  6. Cross-checks: The system compares chip data with the visual MRZ and data page, and with other checks in the workflow.
  7. Result: The system returns a pass or fail result with the reasons for any failure.

This flow produces a cryptographic result, not just an image comparison. A passport can be visually convincing and still fail chip verification, and the failure reason matters for fraud review.

How Didit Helps

Didit’s identity platform offers seamless NFC passport verification as a core component of its KYC and identity solutions. We handle the complexities of BAC and PACE implementation, providing a simple API integration for businesses. Our solution offers:

  • ICAO 9303 Compliance: Full adherence to international standards.
  • Secure Key Management: Robust security measures to protect cryptographic keys.
  • Fast and Accurate Verification: Verification times under 2 seconds.
  • Fraud Detection: Integration with other fraud signals for enhanced security.
  • Global Coverage: Support for 190+ countries and 14,000+ document types.

By leveraging Didit, businesses can confidently verify identities with a high degree of assurance, reducing fraud and streamlining their onboarding processes.

Ready to Get Started?

Ready to enhance your identity verification process with the security of NFC passport verification? Request a demo today to see Didit in action. Explore our pricing and discover how we can help you reduce fraud and improve conversion rates.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.