diff options
Diffstat (limited to 'pySim')
-rw-r--r-- | pySim/global_platform/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/global_platform/__init__.py b/pySim/global_platform/__init__.py index c7ea0be..ca99f5f 100644 --- a/pySim/global_platform/__init__.py +++ b/pySim/global_platform/__init__.py @@ -630,7 +630,7 @@ class ADF_SD(CardADF): """Perform GlobalPlatform INSTALL [for personalization] command in order to inform a Security Domain that the following STORE DATA commands are meant for a specific AID (specified here).""" # Section 11.5.2.3.6 / Table 11-47 - self.install(0x20, 0x00, "0000%02u%s000000" % (len(opts.application_aid)//2, opts.application_aid)) + self.install(0x20, 0x00, "0000%02x%s000000" % (len(opts.application_aid)//2, opts.application_aid)) inst_inst_parser = argparse.ArgumentParser() inst_inst_parser.add_argument('--load-file-aid', type=is_hexstr, default='', |