mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-22 05:18:33 +03:00
euicc: Fix decoding of SubjectKeyIdentifier.
There's actually no additional TLV structure inside the Tag 0x04. Change-Id: Ic922355308747a888083c5b26765d272b6b20bd0
This commit is contained in:
@@ -94,13 +94,11 @@ class GetEuiccChallenge(BER_TLV_IE, tag=0xbf2e, nested=[EuiccChallenge]):
|
|||||||
# SGP.22 Section 5.7.8: GetEUICCInfo
|
# SGP.22 Section 5.7.8: GetEUICCInfo
|
||||||
class SVN(BER_TLV_IE, tag=0x82):
|
class SVN(BER_TLV_IE, tag=0x82):
|
||||||
_construct = VersionType
|
_construct = VersionType
|
||||||
class SubjectKeyIdentifier(BER_TLV_IE, tag=0x81):
|
class SubjectKeyIdentifier(BER_TLV_IE, tag=0x04):
|
||||||
_construct = HexAdapter(GreedyBytes)
|
_construct = HexAdapter(GreedyBytes)
|
||||||
class SubjectKeyIdentifierSeq(BER_TLV_IE, tag=0x04, nested=[SubjectKeyIdentifier]):
|
class EuiccCiPkiListForVerification(BER_TLV_IE, tag=0xa9, nested=[SubjectKeyIdentifier]):
|
||||||
pass
|
pass
|
||||||
class EuiccCiPkiListForVerification(BER_TLV_IE, tag=0xa9, nested=[SubjectKeyIdentifierSeq]):
|
class EuiccCiPkiListForSigning(BER_TLV_IE, tag=0xaa, nested=[SubjectKeyIdentifier]):
|
||||||
pass
|
|
||||||
class EuiccCiPkiListForSigning(BER_TLV_IE, tag=0xaa, nested=[SubjectKeyIdentifierSeq]):
|
|
||||||
pass
|
pass
|
||||||
class EuiccInfo1(BER_TLV_IE, tag=0xbf20, nested=[SVN, EuiccCiPkiListForVerification, EuiccCiPkiListForSigning]):
|
class EuiccInfo1(BER_TLV_IE, tag=0xbf20, nested=[SVN, EuiccCiPkiListForVerification, EuiccCiPkiListForSigning]):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user