|
|
hace 8 meses | |
|---|---|---|
| .. | ||
| .catalog | hace 8 meses | |
| .github | hace 9 meses | |
| images | hace 8 meses | |
| lib | hace 9 meses | |
| reference | hace 9 meses | |
| scenes | hace 8 meses | |
| .clang-format | hace 9 meses | |
| .gitignore | hace 9 meses | |
| .gitsubtree | hace 9 meses | |
| README.md | hace 8 meses | |
| application.fam | hace 8 meses | |
| bsearch.c | hace 9 meses | |
| eMRTD.asn1 | hace 9 meses | |
| memmem.c | hace 9 meses | |
| passy.c | hace 9 meses | |
| passy.h | hace 9 meses | |
| passy.png | hace 8 meses | |
| passy_common.c | hace 9 meses | |
| passy_common.h | hace 9 meses | |
| passy_i.h | hace 9 meses | |
| passy_reader.c | hace 8 meses | |
| passy_reader.h | hace 9 meses | |
| secure_messaging.c | hace 9 meses | |
| secure_messaging.h | hace 9 meses | |
🇺🇸 🇨🇱 🇫🇷 🇬🇧 🇵🇭 🇷🇺 🇹🇼 🇺🇦 🇦🇿
(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