Skip to content
Success

Changes

Summary

  1. pySim-shell: allow checking of APDU responses (details)
Commit 5887fb70fb34d085ecd76562efd13ed74f1cc822 by pmaier@sysmocom.de
pySim-shell: allow checking of APDU responses

The "apdu" command allows us to send custom APDUs to a card. This command is
often used in low level initialization scripts or tests. To stop the script
execution in case of an error, the command allows us to specify a status word
that must match the status word of the response. But we have no such mechanism
for the response itself. Let's add another parameter where we can pass a regex
that the response must match.

Related: OS#6367
Change-Id: I97bbcdf37bdcf00ad50a875b96940c211de7073d
The file was modifiedpySim-shell.py