Skip to content

Commit

Permalink
Fix typos (#115)
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Richey <[email protected]>
  • Loading branch information
josephlr authored Jun 24, 2021
1 parent 7807e9e commit 3714940
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ It contains the following public packages:
- Reading NVData
- Getting the TCG Event Log
- [`server`](https://pkg.go.dev/github.com/google/[email protected]/server):
A Go package providing functionality for a remote server to send, receive, and interpret TPM 2.0 data. None of the commands in this package isssue TPM commands, but instead handle:
A Go package providing functionality for a remote server to send, receive, and interpret TPM 2.0 data. None of the commands in this package issue TPM commands, but instead handle:
- TCG Event Log parsing
- Attestation verification
- Creating data for Importing into a TPM
- [`proto`](https://pkg.go.dev/github.com/google/[email protected]/proto):
Common [Protocol Buffer](https://developers.google.com/protocol-buffers) messages that are exchanged between the `client` and `server` libaries. This package also contains helper methods for validating these messages.
Common [Protocol Buffer](https://developers.google.com/protocol-buffers) messages that are exchanged between the `client` and `server` libraries. This package also contains helper methods for validating these messages.
- [`simulator`](https://pkg.go.dev/github.com/google/[email protected]/simulator):
Go bindings to the Microsoft's [TPM 2.0 simulator](https://github.com/Microsoft/ms-tpm-20-ref/).

Expand Down Expand Up @@ -88,7 +88,7 @@ To point the simulator at openssl as provided by Homebrew, there are a couple
of options. Both of these use the output of `$(brew --prefix openssl)` for
`$OPENSSL_PATH`.

#### Add OpenSSL to the include and library path at the commandline
#### Add OpenSSL to the include and library path at the command line
This solution does not require modifying go-tpm-tools code and is useful when
working on other projects that depend on go-tpm-tools/simulator.
```
Expand All @@ -97,7 +97,7 @@ C_INCLUDE_PATH="$OPENSSL_PATH/include" LIBRARY_PATH="$OPENSSL_PATH/lib" go test

#### Add OpenSSL to the include and library path in the code
This solution modifies your local copy of the go-tpm-tools simulator source
and removes the need to provide the paths on the commandline.
and removes the need to provide the paths on the command line.

Remember to remove the lines from `simulator/internal/internal.go` before
committing changes.
Expand Down
2 changes: 1 addition & 1 deletion internal/test_tpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func GetTPM(tb testing.TB) io.ReadWriteCloser {
return simulatedTpm{simulator, eventLog}
}

// simulateEventLogEvents simulates the events in the the test event log
// simulateEventLogEvents simulates the events in the test event log
// "server/test/ubuntu-2104-event-log" by parsing the log
// and manually extending the TPM.
func simulateEventLogEvents(tb testing.TB, rw io.ReadWriter, eventLog []byte) {
Expand Down

0 comments on commit 3714940

Please sign in to comment.