Skip to content

Commit

Permalink
Merge pull request #196 from subrahmanyaman/Javacard_KeyMint_100_master
Browse files Browse the repository at this point in the history
Updated the ProvisionTool REAMDE.
  • Loading branch information
mdwivedi authored Jul 5, 2022
2 parents adc91af + 6548823 commit 1a627b1
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions ProvisioningTool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,27 @@ cuttlefish target. Also the required certificates and keys can be found in

#### Usage for construct_apdus
<pre>
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
</pre>

#### Usage for provision
<pre>
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.
</pre>

0 comments on commit 1a627b1

Please sign in to comment.