Skip to content

Commit

Permalink
updates to docs and keylime in the webui
Browse files Browse the repository at this point in the history
  • Loading branch information
iolivergithub committed Jan 23, 2024
1 parent f1ec874 commit a3035b3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
29 changes: 19 additions & 10 deletions docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Read the section on advanced TA10 usage.

# GA10 Configuration File

Note the lines with "CHANGE ME":
Note the lines with "CHANGE ME" - review these for your system.

* The name of the system can set to anything you want.
* The MQTT client ID must be unique if you indend running more than one instance
Expand All @@ -90,6 +90,8 @@ Note the lines with "CHANGE ME":
* X3270 -- don't worry about this, but if you have an X3270 terminal, the TUI might be useful (when we finish it)
* Logging goes to a default place in /var/log or somewhere suitable on Windows

The lines with "DEFAULT VALUE" most likely do not need to change, but review for your system just in case.

Read the sections on security and keys

```yaml
Expand All @@ -105,32 +107,31 @@ database:
#MQTT Configuration
messaging:
broker: 192.168.1.203 #CHANGE ME
port: 1883
port: 1883 #DEFAULT VALUE
clientid: attestationMQTTclient #CHANGE ME

#REST Interface Configuration
rest:
port: 8520
port: 8520 #DEFAULT VALUE
crt: temporary.crt #CHANGE ME
key: temporary.key #CHANGE ME
usehttp: false #CHANGE ME
usehttp: false #DEFAULT VALUE

#Web Interface Configuration
web:
port: 8540
port: 8540 #DEFAULT VALUE
crt: temporary.crt #CHANGE ME
key: temporary.key #CHANGE ME
usehttp: false #CHANGE ME

usehttp: false #DEFAULT VALUE

#X3270
x3270:
port: 3270
port: 3270 #DEFAULT VALUE

#Log file
logging:
logfilelocation: /var/log/ga10.log #CHANGE ME
sessionupdatelogging: false
logfilelocation: /var/log/ga10.log #DEFAULT VALUE
sessionupdatelogging: false #DEFAULT VALUE
```
## Using Keylime for Measured Boot evaluation
Expand All @@ -147,6 +148,14 @@ cd docker/release
```
After this GA10 can be used with the included docker-compose.yml file.

To include Keylime access add the following section to the `config.yaml` file:

```yaml
#Keylime
keylime:
apiurl: https://127.0.0.1:30000/keylime #CHANGE ME
```
# Advanced TA10 - Here be a good way to open your system to every hacker ever
TA10 CURRENTLY starts all the services, ie: it will happily offer TPM, IMA, UEFI services etc, even if these are not available. In a later version these will have be switched on specifically, but don't worry about this.
Expand Down
7 changes: 7 additions & 0 deletions ga10/services/webui/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@
<span class="badge bg-success">https</span>
{{ end }} </td> </tr>
<tr><td scope="col">X3270</td> <td scope="col"><b>:{{ .Cfg.X3270.Port }}</b></td> </tr>

<tr><td scope="col">Keylime</td> <td scope="col">
{{ if eq .Cfg.Keylime.ApiUrl "" }}
<span class="badge bg-warning">Not utilised</span>
{{ else }}
<b>{{ .Cfg.Keylime.ApiUrl }}</b>
{{ end }} </td> </tr>



Expand Down

0 comments on commit a3035b3

Please sign in to comment.