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