<p style="white-space: pre-wrap; word-wrap: break-word;">did you actually encounter any specific bug/problem before this patch?</p><p style="white-space: pre-wrap; word-wrap: break-word;">In general, I'm not aware of any USIM/ISIM specific requirements for the CLAss byte.</p><p style="white-space: pre-wrap; word-wrap: break-word;">IMHO, the underlying question is whether the card is a classic SIM (0xA0) or an UICC (0x00). But an UICC can have various other Applications, not  just USIM/ISIM.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Also, why reset the card after changing the class byte?</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think this needs more explanation in commit log and/or comments.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The link you quote is some APDU trace and not a specification reference.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/17880">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/17880">change 17880</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/pysim/+/17880"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ifea328eff3a381d7b82118e22d2bc0ec5f8a87e4 </div>
<div style="display:none"> Gerrit-Change-Number: 17880 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: herlesupreeth <herlesupreeth@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 25 Apr 2020 14:12:24 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>