Skip to content

Commit 45e0614

Browse files
authored
Merge pull request #342 from lf-lang/sec-fix
Add `iotauth` clone and submodule init instructions to SST setup
2 parents 93684fb + e5d8249 commit 45e0614

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/reference/security.mdx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,14 @@ With `comm-type: SST`, both the initial connection setup and subsequent federate
108108

109109
### Enabling SST
110110

111-
To use SST, set the `comm-type` to `SST` and provide the path to your `iotauth` installation:
111+
To use SST, first clone the iotauth repository and initialize its submodules, and optionally, set the environment variable `SST_ROOT` to the path of the cloned repository:
112+
113+
```bash
114+
git clone --recurse-submodules https://github.com/iotauth/iotauth.git
115+
export SST_ROOT="$(pwd)/iotauth"
116+
```
117+
118+
Then set the `comm-type` to `SST` and provide the path to your local `iotauth` repository:
112119

113120
<ShowIfs>
114121
<ShowIf c>
@@ -254,4 +261,4 @@ If you would like to go back to non-AUTH mode, you would have to remove all cont
254261
Pluggable communication security (TLS and SST) is currently only supported for the **C** and **Python** targets. Support for other target languages is planned for the future.
255262
:::
256263

257-
</ShowOnly>
264+
</ShowOnly>

0 commit comments

Comments
 (0)