|
|
hai 8 meses | |
|---|---|---|
| .catalog | hai 8 meses | |
| .github | hai 9 meses | |
| images | hai 9 meses | |
| lib | hai 9 meses | |
| reference | hai 9 meses | |
| scenes | hai 8 meses | |
| .clang-format | hai 9 meses | |
| .gitignore | hai 9 meses | |
| README.md | hai 8 meses | |
| application.fam | hai 9 meses | |
| bsearch.c | hai 9 meses | |
| eMRTD.asn1 | hai 9 meses | |
| memmem.c | hai 9 meses | |
| passy.c | hai 9 meses | |
| passy.h | hai 9 meses | |
| passy.png | hai 9 meses | |
| passy_common.c | hai 9 meses | |
| passy_common.h | hai 9 meses | |
| passy_i.h | hai 9 meses | |
| passy_reader.c | hai 8 meses | |
| passy_reader.h | hai 9 meses | |
| secure_messaging.c | hai 9 meses | |
| secure_messaging.h | hai 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