Reading Passport NFC Chip Data with Python

The author attempts to read the NFC chip data from their cancelled passport using the Python library pypassport. Due to the passport being cancelled, a portion of the MRZ (Machine Readable Zone) is missing. The author reconstructs the MRZ from other information on the passport and successfully reads the passport information, including biometric data. The article details the composition of the MRZ, checksum calculation methods, and the reading process, and discusses the possibility and practical value of brute-forcing the MRZ. Ultimately, the author demonstrates that while theoretically possible, brute-forcing is very difficult in practice, and reading the information directly from the passport is much more convenient and efficient.