From 58d7e1ba274b70fba28e64d45ca56afecf7e5d64 Mon Sep 17 00:00:00 2001 From: subrahmanyaman <89206633+subrahmanyaman@users.noreply.github.com> Date: Tue, 5 Jul 2022 10:32:23 -0700 Subject: [PATCH 1/2] Update README.md --- ProvisioningTool/README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ProvisioningTool/README.md b/ProvisioningTool/README.md index 21fd0034..3ea761fc 100644 --- a/ProvisioningTool/README.md +++ b/ProvisioningTool/README.md @@ -32,10 +32,14 @@ Valid options are: #### Usage for provision
-Usage: provision_keymint options -Valid options are: --h, --help show the help message and exit. --i, --input jsonFile Input json file --s, --provision_stautus Prints the current provision status. --l, --lock_provision Locks the provision state. +Usage: Please consturcture the apdu(s) with help of construct apdu tool and +pass the output file to this utility. +provision_keymint [options] +Valid options are: +-h, --help show this help message and exit. +-i, --input jsonFile Input json file +-s, --provision_status jsonFile Gets the provision status of applet. +-l, --lock_provision jsonFile OEM provisioning lock. +-f, --se_factory_lock jsonFile SE Factory provisioning lock. +-u, --unlock_provision jsonFile Unlock OEM provisioning.From 469640bec693b70e706dc2d334c63cfa2a88b8b0 Mon Sep 17 00:00:00 2001 From: subrahmanyaman <89206633+subrahmanyaman@users.noreply.github.com> Date: Tue, 5 Jul 2022 10:33:07 -0700 Subject: [PATCH 2/2] Update README.md --- ProvisioningTool/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ProvisioningTool/README.md b/ProvisioningTool/README.md index 3ea761fc..93492fa4 100644 --- a/ProvisioningTool/README.md +++ b/ProvisioningTool/README.md @@ -23,9 +23,13 @@ cuttlefish target. Also the required certificates and keys can be found in #### Usage for construct_apdus
-Usage: construct_keymint_apdus options +Usage: Please give json files with values as input to generate the apdus command. +Please refer to sample_json files available in the folder for reference. +Sample json files are written using hardcode parameters to be used for +testing setup on cuttlefilsh emulator and goldfish emulators +construct_keymint_apdus [options] Valid options are: --h, --help show the help message and exit. +-h, --help show this help message and exit. -i, --input jsonFile Input json file -o, --output jsonFile Output json file@@ -38,8 +42,8 @@ provision_keymint [options] Valid options are: -h, --help show this help message and exit. -i, --input jsonFile Input json file --s, --provision_status jsonFile Gets the provision status of applet. +-s, --provision_status jsonFile Gets the provision status of applet. -l, --lock_provision jsonFile OEM provisioning lock. -f, --se_factory_lock jsonFile SE Factory provisioning lock. --u, --unlock_provision jsonFile Unlock OEM provisioning. +-u, --unlock_provision jsonFile Unlock OEM provisioning.