laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/36778?usp=email )


Change subject: euicc: Fix shell command for SGP.31 get_certs
......................................................................

euicc: Fix shell command for SGP.31 get_certs

Change-Id: I2e59070992bb522d14a5e4956f0d8e738a785dd8
---
M pySim/euicc.py
1 file changed, 11 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/78/36778/1

diff --git a/pySim/euicc.py b/pySim/euicc.py
index 8b8b973..c27c91f 100644
--- a/pySim/euicc.py
+++ b/pySim/euicc.py
@@ -279,7 +279,7 @@
     _construct = GreedyBytes
 class EuiccCertificate(BER_TLV_IE, tag=0xa6):
     _construct = GreedyBytes
-class GetCertsError(BER_TLV_IE, tag=0x80):
+class GetCertsError(BER_TLV_IE, tag=0x81):
     _construct = Enum(Int8ub, invalidCiPKId=1, undefinedError=127)
 class GetCertsResp(BER_TLV_IE, tag=0xbf56, nested=[EumCertificate, 
EuiccCertificate, GetCertsError]):
     pass
@@ -501,7 +501,7 @@
             """Perform an ES10c GetCerts() function on an IoT eUICC."""
             gc = CardApplicationISDR.store_data_tlv(self._cmd.lchan.scc, 
GetCertsReq(), GetCertsResp)
             d = gc.to_dict()
-            
self._cmd.poutput_json(flatten_dict_lists(d['get_certficiates_resp']))
+            self._cmd.poutput_json(flatten_dict_lists(d['get_certs_resp']))

         def do_get_eim_configuration_data(self, _opts):
             """Perform an ES10b GetEimConfigurationData function on an Iot 
eUICC."""

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/36778?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I2e59070992bb522d14a5e4956f0d8e738a785dd8
Gerrit-Change-Number: 36778
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to