Open aveao opened 3 years ago
Whoops, accidentally picked the wrong option that added the wrong labels and assignees, please feel free to correct those.
About passports not working at first sight:
Greek passports work as well. Awesome work!
How easy would it be to implement emulation of a dumped passport? We have this client for example who want us to test some passport scanning app and obviously they're not going to ship real passports via mail. So using proxamrk to emulate a real one would be a great feature.
Just to keep track of it, there is an interesting bit of code here to be able to parse the PKCS#7 certificate with mbedtls https://github.com/qemu/skiboot/commit/9e7a4b327050101ec629b4028c2f7a452d7d5c0c
Pushed a fix for 14b, which influences emrtd cmds, I tested on my passport and it works.
This also works on Taiwan passports (14a).
I've checked 14a Russian passports (random ID, 0008-20). Works well
Confirmed China's ePassport system worked, though, it doesn't automatically generate a .jpg of the facial image from DG2. Reading from the passport can be a bit tricky, probably because of the antenna design.
I guess the image is because the pm3 client tries to show both facial image and signature image.
And we only have one image object in the client for now.
This issue is intended to be a meta progress tracker and discussion space for the
hf emrtd
commands.Checklist
hf emrtd dump
hf emrtd info
that displays basic info (perhaps just based on EF_DG1)hf emrtd dump
dumping more detailed data from the files by parsing them, such as extracting the JPG and the cert filehf emrtd dump
, as suggested by doegoxhf emrtd info
that displays extended info (EF_DG11, EF_DG12)hf emrtd dump
to a different folder, as suggested by doegoxhf emrtd info
that displays a GUI with extended info (EF_DG1, EF_DG2, EF_DG5, EF_DG11, EF_DG12)Test results
Working
Not working
[!!] APDU: Small APDU response. Len=0
. ReadID android can read it, says BAC and AA are available, uses BAC.To try