What is on the chip in your passport, and how it is protected
An ePassport holds your data and a signature on a small chip. Learn what is stored, what opens it, why a copy fails, and how to check a document's chip.
Many passports and national ID cards carry a small chip. The chip is part of the document. It holds the same details as the printed page, in a form that a computer can check. This guide explains what is on it, what opens it and why a copy of it should not pass a check. It is written for anyone who is curious, and for people who need to examine documents as part of their work.
What is stored
The chip keeps its data in numbered groups. The ones you will meet most are:
- Data group 1 holds the details from the machine-readable lines at the foot of the data page: name, document number, dates, nationality.
- Data group 2 holds the photo.
- Data groups 3 and 4 hold fingerprints and irises, on documents that have them.
- Data groups 14 and 15 hold public keys that the chip uses to prove it is the original.
- The security object is a list of fingerprints (hashes) of every data group, signed by the authority that made the document.
What opens it
A chip does not answer anyone who asks. A reader has to prove that it has the document in front of it. For that it uses numbers printed on the document: the document number, the date of birth and the date of expiry, or on many eID cards a short card access number. That is why you have to hold the document, or be given the numbers, to read it. The chip and the reader then agree on a secret key and talk in code.
Why the data can be trusted
The security object is signed. A checker can recompute the hash of each data group and compare it with the signed list. If someone changes the photo or a name, the hash no longer matches and the check fails. The signature can be traced from the signing certificate up to the root certificate of the issuing country. This is called passive authentication.
Why a copy fails
Passive authentication alone does not stop someone copying all of the data to another chip, because the data and the signature are all still genuine. So the chip has a secret key that never leaves it. In active authentication, the checker sends a random challenge and the chip signs it with that secret. Chip authentication does the same with a key agreement. A copy of the public data cannot answer, because it does not hold the secret.
What is held back
Fingerprints and irises are more sensitive than a photo. The issuing country protects them with extra access control. A reader can open them only with a terminal certificate that the country itself grants, to border authorities for example. A checker that is not given such a certificate cannot read them, and should not try.
Checking a document’s chip
A careful check puts these together: open the chip with the printed numbers, check every hash against the signed list, follow the signature to a trusted root, and ask the chip for its proof that it is the original. When something cannot be checked, a good tool says so and does not call it a pass.
ChipScope does this and shows each check and its result, with a verdict at the end. You can see how it works without any card: its simulation runs made-up specimen documents through the same checks. The help center walks through it.
Use it on documents you own or are authorised to examine, and follow the data-protection rules where you work.