Bez popisu

Eric Betts 2472d5f5f4 Create CONTRIBUTING.md před 9 měsíci
.catalog e2d94da5bd sync readme před 9 měsíci
.github abfd2e18c7 Update issue templates před 9 měsíci
images 0939786adf Save epassport logos před 10 měsíci
lib 7238894af2 Add com reading and asn1 parsing před 11 měsíci
reference 37b252d2a2 reference material před 11 měsíci
scenes a193ddf9a2 uppercase all letters in passport number před 9 měsíci
.clang-format 9fe02b0a3e Clear history před 11 měsíci
.gitignore 9fe02b0a3e Clear history před 11 měsíci
CONTRIBUTING.md 2472d5f5f4 Create CONTRIBUTING.md před 9 měsíci
LICENSE b8c7803b36 Create LICENSE před 9 měsíci
README.md 9ec95cf7e4 add switzerland před 9 měsíci
application.fam 7581bc2191 more changelog items před 10 měsíci
bsearch.c 88e7f838eb trying to use asn1c to decode DG1 před 11 měsíci
eMRTD.asn1 7238894af2 Add com reading and asn1 parsing před 11 měsíci
memmem.c 89e36f2e4e Look for jpeg header in first 100 bytes of DG2 před 11 měsíci
passy.c 194c9778d1 For all other DG, grab the header and show that před 11 měsíci
passy.h 9ea747ecc9 restructure UI před 11 měsíci
passy.png 36d65b1f64 new icon před 10 měsíci
passy_common.c 6c42d1b981 Fix for document numbers containing Q-Z před 10 měsíci
passy_common.h 68c87dcbe2 Fix calculation of file length před 11 měsíci
passy_i.h 80348d61d7 Restart NFC scanner is unhandled protocol is found před 10 měsíci
passy_reader.c 81360b90d7 Correct fallback when dg2 image header can't be found před 9 měsíci
passy_reader.h 8611f0508c Accept 4A protocol před 10 měsíci
secure_messaging.c 7c05345f96 DRY up key diversification před 11 měsíci
secure_messaging.h 633e3da57d handle dynamic passport number length před 11 měsíci

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

  • Avanced menu hidden unless Debug enabled
  • Does not parse some DG under "advanced" menu

To do

  • Support PACE
  • Support other country passports

Generate asn:

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