Skip to content

Commit

Permalink
added README for key loading
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrett committed Oct 11, 2024
1 parent c08599c commit 336bed0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ Set the `WOLFHSM_DIR` and `WOLFSSL_DIR` variables to point to your local install
### Executables
In the root directory for wolfHSM-examples run `./posix/tcp/wh_server_tcp/Build/wh_server_tcp.elf` to launch the server. In a separate shell, run `./posix/tcp/wh_client_tcp/Build/wh_client_tcp.elf` to launch the client.

### Loading a key on the server
The example server supports loading a key at a specific keyId, passed as arguments on the command line. To load a key at a keyId in the server example, invoke the server with the `--key` and `--id` arguments.

```
./wh_server_tcp.elf --key /path/to/key.der --id <keyId>
```

### Results
After all steps are you complete you should see the following outputs.

Expand Down

0 comments on commit 336bed0

Please sign in to comment.