Actions
Bug #6278
closedfix sending of raw APDUs
Start date:
11/29/2023
Due date:
% Done:
100%
Spec Reference:
Description
There is a problem when sending raw APDUs to cards that are not provisioned yet. The scc (SimCardCommands) object seems to be missing for some reason.
$ ./pySim-shell.py -p 0 Using PC/SC reader number 0 Waiting for card... Warning: Could not detect card type - assuming a generic card type... Unsupported card type! pySim-shell not equipped! Welcome to pySim-shell! (C) 2021-2023 by Harald Welte, sysmocom - s.f.m.c. GmbH and contributors Online manual available at https://downloads.osmocom.org/docs/pysim/master/html/shell.html pySIM-shell (no card profile)> apdu 0000000000 EXCEPTION of type 'AttributeError' occurred with message: ''SimCardBase' object has no attribute 'scc'' To enable full traceback, run the following command: 'set debug true' pySIM-shell (no card profile)>
Updated by dexter 5 months ago
There is now a patch in review that should fix the problem: https://gerrit.osmocom.org/c/pysim/+/35161 pySim-shell: Do not use self.lchan.scc when sending raw APDUs.
Actions