I am using JMRTD library for reading data from eID and PassportService
doPace()
method works fine. But when I do another doPace()
, immediately after, I get:
PICC side error in static PACE key derivation step (SW = 0x6986: COMMAND NOT ALLOWED)
Reason I consider this to be a problem is not because I need to do this twice in a program, but that it throws this same error is thrown when I run program twice. Even if I disconnect card reader and reconnect, same error.
If I wait a minute this issue is resolved. I am not sure but there must be some persistent timeout on the card causing this.
Any idea on how to solve this?