Sin descripción

Eric Betts 75100c7fc3 look up to 120 bytes for image header in DG2 hace 10 meses
.catalog 1ff22f0740 Merge pull request #12 from MangoTornado/main hace 10 meses
.github dc481e4a54 remove unused includes; build on push to main hace 11 meses
images 35ddab5d45 Option to delete saved mrz info hace 11 meses
lib 7238894af2 Add com reading and asn1 parsing hace 11 meses
reference 37b252d2a2 reference material hace 11 meses
scenes 1c1b108d4d Allow shorter passport numbers hace 10 meses
.clang-format 9fe02b0a3e Clear history hace 11 meses
.gitignore 9fe02b0a3e Clear history hace 11 meses
README.md 1ff22f0740 Merge pull request #12 from MangoTornado/main hace 10 meses
application.fam bdcf4d0a8c bump to v1.2 hace 10 meses
bsearch.c 88e7f838eb trying to use asn1c to decode DG1 hace 11 meses
eMRTD.asn1 7238894af2 Add com reading and asn1 parsing hace 11 meses
memmem.c 89e36f2e4e Look for jpeg header in first 100 bytes of DG2 hace 11 meses
passy.c 194c9778d1 For all other DG, grab the header and show that hace 11 meses
passy.h 9ea747ecc9 restructure UI hace 11 meses
passy.png a7876a134a make logo 1-bit hace 11 meses
passy_common.c 6c42d1b981 Fix for document numbers containing Q-Z hace 10 meses
passy_common.h 68c87dcbe2 Fix calculation of file length hace 11 meses
passy_i.h 80348d61d7 Restart NFC scanner is unhandled protocol is found hace 10 meses
passy_reader.c 75100c7fc3 look up to 120 bytes for image header in DG2 hace 10 meses
passy_reader.h 8611f0508c Accept 4A protocol hace 10 meses
secure_messaging.c 7c05345f96 DRY up key diversification hace 11 meses
secure_messaging.h 633e3da57d handle dynamic passport number length hace 11 meses

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