Skip to content

Commit

Permalink
fix: QA issue
Browse files Browse the repository at this point in the history
Signed-off-by: James Chapman <[email protected]>
  • Loading branch information
james-ctc committed Feb 19, 2024
1 parent 5056a0b commit 81ae5f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ make test
There are two configuration options that will add a DNS name and IP address to the
subject alternative name in the certificate signing request.

Check notice on line 41 in README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

README.md#L41

Expected: 0 or 2; Actual: 1
By default they are not added.

- `cmake -DCSR_DNS_NAME=charger.pionix.de ...` to include a DNS name

Check notice on line 44 in README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

README.md#L44

Expected: 0 or 2; Actual: 1
- `cmake -DCSR_IP_ADDRESS=192.168.2.1 ...` to include an IPv4 address

Check notice on line 45 in README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

README.md#L45

Expected: 0 or 2; Actual: 1

Expand All @@ -52,6 +53,7 @@ The library will use the `UseTPM` flag and the PEM private key file to
configure whether to use the `default` provider or the `tpm2` provider.

Configuration is managed via propquery strings (see CMakeLists.txt)

- `PROPQUERY_DEFAULT` is the string to use when selecting the default provider
- `PROPQUERY_TPM2` is the string to use when selecting the tpm2 provider

Expand All @@ -63,6 +65,7 @@ propquery|action
"?provider=tpm2,tpm2.digest!=yes"|prefer the tpm2 provider but not for message digests

For more information see:

- [Provider for integration of TPM 2.0 to OpenSSL 3.x](https://github.com/tpm2-software/tpm2-openssl)
- [OpenSSL property](https://www.openssl.org/docs/man3.0/man7/property.html)
- [OpenSSL provider](https://www.openssl.org/docs/man3.0/man7/provider.html)

0 comments on commit 81ae5f5

Please sign in to comment.