|
|
пре 7 месеци | |
|---|---|---|
| .. | ||
| .catalog | пре 7 месеци | |
| .github | пре 9 месеци | |
| images | пре 8 месеци | |
| lib | пре 9 месеци | |
| reference | пре 9 месеци | |
| scenes | пре 7 месеци | |
| .clang-format | пре 9 месеци | |
| .gitignore | пре 9 месеци | |
| .gitsubtree | пре 9 месеци | |
| LICENSE | пре 8 месеци | |
| README.md | пре 7 месеци | |
| application.fam | пре 8 месеци | |
| bsearch.c | пре 9 месеци | |
| eMRTD.asn1 | пре 9 месеци | |
| memmem.c | пре 9 месеци | |
| passy.c | пре 9 месеци | |
| passy.h | пре 9 месеци | |
| passy.png | пре 8 месеци | |
| passy_common.c | пре 9 месеци | |
| passy_common.h | пре 9 месеци | |
| passy_i.h | пре 9 месеци | |
| passy_reader.c | пре 8 месеци | |
| passy_reader.h | пре 9 месеци | |
| secure_messaging.c | пре 9 месеци | |
| secure_messaging.h | пре 9 месеци | |
🇺🇸 🇨🇱 🇫🇷 🇬🇧 🇵🇭 🇷🇺 🇹🇼 🇺🇦 🇦🇿 🇨🇦 🇮🇹 🇪🇸
(If it works for yours, submit a PR to add your country flag)
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).
asn1c -D ./lib/asn1 -no-gen-example -pdu=all eMRTD.asn1