Hello,
actually, code SW 98.XX can be an error related with 3G authentication.
See TS 31.102, section 7.3.1.
You can also try the authenticate() directly from python:
>> from card.USIM import USIM
>> u = USIM()
>> u.authenticate(RAND=[1,2,3,...], AUTN=[4,5,6,...],ctx='3G')
Then,
you can see all the APDU and card's answers in .coms attribute
of the USIM:
>> u.coms
2012/11/18 Stefanos Malliaros <stefmalli89(a)gmail.com>om>:
Στις 11/18/2012 01:08 PM, ο/η Harald Welte έγραψε:
On Fri, Nov 16, 2012 at 01:08:18PM +0200,
Stefanos Malliaros wrote:
/and i get as response the number 152 which in hex is 98.
98xx is a security related parameter. Did you make sure to disable the
PIN? osmo-sim-auth does not support cards with active PIN.
yes i have disabled the pin through my mobile phone.
before i disabled my pin i wasn't able to do 2G authentication. but when i
disabled it i was ok with 2G authentication
should i disable it using another way?