Нема описа

Eric Betts aec0e1a7ee Merge pull request #24 from zuurdo/addSpainSupport пре 8 месеци
.catalog b1b739bdbe Sync readme пре 8 месеци
.github dc481e4a54 remove unused includes; build on push to main пре 10 месеци
images 0939786adf Save epassport logos пре 9 месеци
lib 7238894af2 Add com reading and asn1 parsing пре 10 месеци
reference 37b252d2a2 reference material пре 9 месеци
scenes 6e996478c0 Remove uncalled callback пре 9 месеци
.clang-format 9fe02b0a3e Clear history пре 10 месеци
.gitignore 9fe02b0a3e Clear history пре 10 месеци
LICENSE b8c7803b36 Create LICENSE пре 8 месеци
README.md 8ef8baacd4 feat: add Spain as supported country пре 8 месеци
application.fam 7581bc2191 more changelog items пре 9 месеци
bsearch.c 88e7f838eb trying to use asn1c to decode DG1 пре 10 месеци
eMRTD.asn1 7238894af2 Add com reading and asn1 parsing пре 10 месеци
memmem.c 89e36f2e4e Look for jpeg header in first 100 bytes of DG2 пре 10 месеци
passy.c 194c9778d1 For all other DG, grab the header and show that пре 10 месеци
passy.h 9ea747ecc9 restructure UI пре 10 месеци
passy.png 36d65b1f64 new icon пре 9 месеци
passy_common.c 6c42d1b981 Fix for document numbers containing Q-Z пре 9 месеци
passy_common.h 68c87dcbe2 Fix calculation of file length пре 10 месеци
passy_i.h 80348d61d7 Restart NFC scanner is unhandled protocol is found пре 9 месеци
passy_reader.c 81360b90d7 Correct fallback when dg2 image header can't be found пре 8 месеци
passy_reader.h 8611f0508c Accept 4A protocol пре 9 месеци
secure_messaging.c 7c05345f96 DRY up key diversification пре 10 месеци
secure_messaging.h 633e3da57d handle dynamic passport number length пре 10 месеци

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