# HG changeset patch # User Mychaela Falconia # Date 1616481386 0 # Node ID 6ccc4d952830089ec142ef842eb7cf4757f98141 # Parent 97646b363eaa07404ed07f96ffedf4649284e97f doc/Sysmocom-SIM-notes: sws-* command updates diff -r 97646b363eaa -r 6ccc4d952830 doc/Sysmocom-SIM-notes --- a/doc/Sysmocom-SIM-notes Tue Mar 23 06:07:06 2021 +0000 +++ b/doc/Sysmocom-SIM-notes Tue Mar 23 06:36:26 2021 +0000 @@ -53,9 +53,7 @@ To reduce the need for manual lookups in email data, we have implemented a tool that converts Sysmocom webshop emails into our own database format, and we have -integrated support for this database into fc-simtool. (Replicating the same -functionality in fc-uicc-tool, as would be appropriate for these UICC-native -cards, is on the to-do list.) +integrated support for this database into fc-simtool and fc-uicc-tool. Sysmocom webshop emails with USIM/ISIM card key material feature a MIME multipart/alternative structure with text/plain and text/html parts, with each @@ -118,6 +116,12 @@ sws-pin1-disable -- send DISABLE CHV with PIN1 from sws-card-db sws-pin1-enable -- send ENABLE CHV with PIN1 from sws-card-db +There is also a generic sws-lookup command that looks up arbitrary sws-card-db +fields for the current card - examples: + +sws-lookup puk1 -- look up and display PUK1 for this card +sws-lookup ki opc -- look up and display Ki and OPc for this card + sysmoUSIM-SJS1 difference ========================= @@ -187,8 +191,8 @@ where xxxxxxxx are the 8 digits of the ADM1 secret code. There are no restrictions as to when this command may be given in an fc-uicc-tool session. -sws-auth-* commands have not been ported over fc-uicc-tool yet, but this -omission will be easy to fill. +sws-auth-* and sws-lookup commands work in fc-uicc-tool exactly the same way as +in fc-simtool. Changing the ADM1 PIN =====================