Get the latest tech news

Reading NFC Passport Chips in Linux


For boring and totally not nefarious reasons, I want to read all the data contained in my passport's NFC chip using Linux. After a long and annoying search, I settled on roeften's pypassport. I can now read all the passport information, including biometrics. Table of ContentsBackgroundRecreating the MRZPython code to generate an MRZCan you read a cancelled passport?Cryptography and other…

Background Recreating the MRZ Installing Getting structured data Saving the image What didn't work mrtdreader beaujean's pyPassport d-Logic Android reader Is it worth it? The security is, thankfully, all fairly standard Public Key Cryptography - 9303 part 11 explains it in excruciating levels of detail. In my experiments, sending an incorrect but valid MRZ results in the chip returning "Security status not satisfied (0x6982)" in a very short space of time.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux

Linux

Photo of passport chips

passport chips

Related news:

News photo

Microsoft Edit

News photo

Microsoft Releases Classic MS-DOS Editor For Linux

News photo

mmc-utils 1.0 Released For Managing MMC Storage On Linux