From 2dd59edd7412aed313e4b2c29cab4faf8d1bbfbc Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 29 Jul 2023 02:29:08 +0200 Subject: [PATCH] ARA-M: fix encoding of the PkgRefDO when using aram_store_ref_ar_do The command wasn't used the correct dict to allow the encoders to work. Related: OS#6121 Change-Id: Ic2bc179b413a6b139e07e3e55b93ff921cb020a9 --- pySim/ara_m.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/ara_m.py b/pySim/ara_m.py index e2e6da19..81443812 100644 --- a/pySim/ara_m.py +++ b/pySim/ara_m.py @@ -354,7 +354,7 @@ class ADF_ARAM(CardADF): ref_do_content += [{'aid_ref_empty_do': None}] ref_do_content += [{'dev_app_id_ref_do': opts.device_app_id}] if opts.pkg_ref: - ref_do_content += [{'pkg_ref_do': opts.pkg_ref}] + ref_do_content += [{'pkg_ref_do': {'package_name_string': opts.pkg_ref}}] # AR ar_do_content = [] if opts.apdu_never: