This repository was archived by the owner on Mar 8, 2024. It is now read-only.
This repository was archived by the owner on Mar 8, 2024. It is now read-only.
errors parsing OIDs in eUICC profile package #210
Closed
Description
I'm trying to parse [portions of] the eUICC test profiles at https://github.com/GSMATerminals/Generic-eUICC-Test-Profile-for-Device-Testing-Public.git
It seems pycrate fails every time there is an OID to be parsed. For example
header : { major-version 2, minor-version 1, profileType "GSMA Generic eUICC Test Profile", iccid '89000123456789012341'H, eUICC-Mandatory-services { usim NULL, isim NULL, csim NULL, usim-test-algorithm NULL, ber-tlv NULL }, eUICC-Mandatory-GFSTEList { { 2 23 143 1 2 1 }, { 2 23 143 1 2 3 }, { 2 23 143 1 2 4 }, { 2 23 143 1 2 5 }, { 2 23 143 1 2 7 }, { 2 23 143 1 2 8 }, { 2 23 143 1 2 9 }, { 2 23 143 1 2 10 }, { 2 23 143 1 2 11 } } }
from TS48 V2 eSIM_GTP_SAIP2.1_BERTLV.txt
leads to
pycrate_asn1rt.err.ASN1ASNDecodeErr: ProfileElement.header.eUICC-Mandatory-GFSTEList._item_: invalid remaining OID definition, 2 23 143 1 2 1
when using pycrate_asn1dir.eUICCPP_IFTv2.PEDefinitions.ProfileElement.from_asn1()
to parse