On Apr 2, 2024, at 8:19 AM, Harald Welte <laforge(a)osmocom.org> wrote:
I've meanwile figured out that the upper 4 bits of
the P1 octet are guaranteed
to be different in the ETSI UICC vs. GlobalPlatform F2 command. So we
can use those as an indicator to distinguish the two situations. See
the [still untested] patch at
https://gerrit.osmocom.org/c/libosmocore/+/36501
Feel free to give that one a try and let us know if that helps.
Thank you, Harald! Can you clarify, is this patch needed on the client-st2 side, the bankd
side, or both?
I am also seeing that I am running a fairly old version of libosmocore, circa 2022-09-19.
Perhaps I should update.
Please give me a few days to try this patch, and I will get back to you.
Regards,
James