fidesmo / fdsm

Tiny Fidesmo command line client in Java
https://developer.fidesmo.com
MIT License
15 stars 2 forks source link

WsClient - Failure: Execution error #81

Open PixsaOJ opened 2 years ago

PixsaOJ commented 2 years ago

I try to batch:

java -jar fdsm.jar --reader 0 --verbose --trace-apdu --trace-api --auth USER:PASS --run wss://perso-server.fidesmo.com/batching/pXX?batchId=YYY

result:

# ...apdu stuff
Using card in ACS ACR122U 00 00
[WebSocketConnectReadThread-14] [INFO] WsClient - Session ID: 14168e50-XXXX-XXXX-9fec-663676b2b499
# ...apdu finish
A<< (0000+2) (20ms) 69FF
[WebSocketConnectReadThread-14] [INFO] WsClient - Failure: Execution error

Fail to run a script

Why does this happen?

sergkh commented 2 years ago

In this particular case the device returned an 6280 warning on SELECT command. Which very likely means that there were too many unsuccessful authentication attempts towards ISD and device locked itself.

PixsaOJ commented 2 years ago

@sergkh Thanks for the response.

I dont think I spammed batching, I did spam writing applet with wrong AID-s.

I do get this error with GlobalPlatform.jar

Could not SELECT default selected: 0x6280

Is there any way I can fix this?

sergkh commented 2 years ago

Yes, that's the same error. I will check with the team if that's fixable. Even though, I believe even if it is, it will require an implementation on our side.