Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-leal-batista committed Oct 13, 2023
1 parent 77f6802 commit 58c5114
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,24 @@ This section describes the steps to run the LACPass Client component, and specif

It is time to run the CLI (Client helper executable script) to setup your DID and set some keys.
1. Make sure you have verified the service availability as described in the previous section
2. Before running the CLI make sure to execute this in a linux bash terminal:
2. Before running the CLI make sure to execute this in a linux bash terminal:


`$ ./client-helper.sh`
3. Now enter the URL of the lacpass-lacchain verified in the previous section
3. Now enter the URL of the lacpass-lacchain verified in the previous section as shown in the following prompt
![](https://github.com/lacchain/LACPass-client/blob/master/docs/examples/apiURL.png)
4. The following menu is presented:
![](https://github.com/lacchain/LACPass-client/blob/master/docs/examples/CLIMainMenu.png)

5. If you don't have a PKI or don't have any signing key to attest health certificates then you can create a Self-Signed Certificate (SSC). If this is the case, type 'SSC' and enter the required information.
- The end of this process will create a subdirectory named "certs" inside the directory you are running the script:
- The end of this process will create a subdirectory named `/certs` inside the directory you are running the script:
![](https://github.com/lacchain/LACPass-client/blob/master/docs/examples/certsDir.png)

* NOTE: DSC.key will be the private key used to sign Health Certificates. For that:
* You can copy the DSC.key into the directory cert-data located in the root directory of your IPS-national-backend repository.
* Rename the new copy of DSC.crt to priv.pem

6. Next, create a DID, type "CD" in the CLI main menu, and a DID will be created, for instance:
6. Next, create a decentralized identifier [DID](https://w3c.github.io/did-core), type "CD" in the CLI main menu, and a DID will be created, for instance:
![](https://github.com/lacchain/LACPass-client/blob/master/docs/examples/didtxtfile.png)

Just as a reference, the created DID (Decentralized Identifier) will be saved in a file named "did.txt"
Expand Down

0 comments on commit 58c5114

Please sign in to comment.