-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAN support for PACE #106
base: main
Are you sure you want to change the base?
CAN support for PACE #106
Conversation
Not falling back to BAC if PACE was tried with CAN, this is not possible.
I am testing this with a German Id. It does not work out of the box. These cards have another primary AID E80704007f00070302 that has to be in Info.plist. When I change this I can get the PACEInfos but fail with:
|
By hard coding the APDU with
`
|
I am also learning to implement PACE with PIN. Can you please share with me the sample code you made? |
@advatar @tienngx Do you try to use the German ID as well? Using the PIN instead of a CAN should not be a big problem. Afaik it is just one different parameter. I will have a look at it. |
@TWilb I don't use German ID. cmd: 00 22 C1 A4 80 83 01 02 84 Error reading tag: sw1 - 0x6A, sw2 - 0x88 |
Thanks Andy. |
hi` all pro =========================func readCardAccess( completed: @escaping ([UInt8]?, NFCPassportReaderError?)->() ) {
|
You can use the Card Access Number together with PACE.
In the Example App the CAN will be used if entered and is preferred over the MRZ data.