Keine Beschreibung

Eric Betts 7581bc2191 more changelog items vor 10 Monaten
.catalog 7581bc2191 more changelog items vor 10 Monaten
.github dc481e4a54 remove unused includes; build on push to main vor 11 Monaten
images 35ddab5d45 Option to delete saved mrz info vor 11 Monaten
lib 7238894af2 Add com reading and asn1 parsing vor 11 Monaten
reference 37b252d2a2 reference material vor 10 Monaten
scenes 770459c416 Add passport number to dg2 filename vor 10 Monaten
.clang-format 9fe02b0a3e Clear history vor 11 Monaten
.gitignore 9fe02b0a3e Clear history vor 11 Monaten
README.md 38b8ea67f9 Confirmed working with Ukrainian passport vor 10 Monaten
application.fam 7581bc2191 more changelog items vor 10 Monaten
bsearch.c 88e7f838eb trying to use asn1c to decode DG1 vor 11 Monaten
eMRTD.asn1 7238894af2 Add com reading and asn1 parsing vor 11 Monaten
memmem.c 89e36f2e4e Look for jpeg header in first 100 bytes of DG2 vor 11 Monaten
passy.c 194c9778d1 For all other DG, grab the header and show that vor 11 Monaten
passy.h 9ea747ecc9 restructure UI vor 11 Monaten
passy.png 36d65b1f64 new icon vor 10 Monaten
passy_common.c 6c42d1b981 Fix for document numbers containing Q-Z vor 10 Monaten
passy_common.h 68c87dcbe2 Fix calculation of file length vor 11 Monaten
passy_i.h 80348d61d7 Restart NFC scanner is unhandled protocol is found vor 10 Monaten
passy_reader.c 770459c416 Add passport number to dg2 filename vor 10 Monaten
passy_reader.h 8611f0508c Accept 4A protocol vor 10 Monaten
secure_messaging.c 7c05345f96 DRY up key diversification vor 11 Monaten
secure_messaging.h 633e3da57d handle dynamic passport number length vor 11 Monaten

README.md

Passy: A Flipper Zero Passport reader

Tested with the following countries:

🇺🇸 🇨🇱 🇫🇷 🇬🇧 🇵🇭 🇷🇺 🇹🇼 🇺🇦

(If it works for yours, submit a PR to add your country flag)

To use:

eMTRD are secured to prevent people from reading the data on a passport just by bumping into it. The data is secured using a key based on the passport number, date of birth, and date of expiry. A real passport machine reads these values from the MRZ (Machine Readable Zone, the ones with ">") using a camera. For the app, you have to enter the values manually. The app will then generate the key and read the data using a system called BAC(https://en.wikipedia.org/wiki/Basic_access_control).

Limitations

  • Does not parse some of the optional DG (under 'advanced' menu)

To do

  • Support other country passports

Generate asn:

asn1c -D ./lib/asn1 -no-gen-example -pdu=all eMRTD.asn1