Ingen beskrivning

Eric Betts 3e62a4f753 Known issues 10 månader sedan
.catalog b91def65ac Update changelog 10 månader sedan
.github dc481e4a54 remove unused includes; build on push to main 11 månader sedan
images 0939786adf Save epassport logos 10 månader sedan
lib 7238894af2 Add com reading and asn1 parsing 11 månader sedan
reference 37b252d2a2 reference material 11 månader sedan
scenes 3e62a4f753 Known issues 10 månader sedan
.clang-format 9fe02b0a3e Clear history 11 månader sedan
.gitignore 9fe02b0a3e Clear history 11 månader sedan
README.md 2834c884be Added Azerbaijan flag to README file 10 månader sedan
application.fam 7581bc2191 more changelog items 10 månader sedan
bsearch.c 88e7f838eb trying to use asn1c to decode DG1 11 månader sedan
eMRTD.asn1 7238894af2 Add com reading and asn1 parsing 11 månader sedan
memmem.c 89e36f2e4e Look for jpeg header in first 100 bytes of DG2 11 månader sedan
passy.c 194c9778d1 For all other DG, grab the header and show that 11 månader sedan
passy.h 9ea747ecc9 restructure UI 11 månader sedan
passy.png 36d65b1f64 new icon 10 månader sedan
passy_common.c 6c42d1b981 Fix for document numbers containing Q-Z 10 månader sedan
passy_common.h 68c87dcbe2 Fix calculation of file length 11 månader sedan
passy_i.h 80348d61d7 Restart NFC scanner is unhandled protocol is found 10 månader sedan
passy_reader.c c158083e29 Change Le to 0 10 månader sedan
passy_reader.h 8611f0508c Accept 4A protocol 10 månader sedan
secure_messaging.c 7c05345f96 DRY up key diversification 11 månader sedan
secure_messaging.h 633e3da57d handle dynamic passport number length 11 månader sedan

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