Skip to content

Commit

Permalink
Merge branch 'main' of github.com:chrisculnane/VirtualWebAuthN into main
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisculnane committed Aug 7, 2021
2 parents 57462de + af38f1f commit b794896
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion tpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ storage root key.
3. cmake ..
4. make

* Once complete you should have a `./tpm/lib/libwatpm.so` file
* Once complete you should have a `./tpm/lib/libwatpm.so` file and a simple test
program `./tpm/src/Build/bin/test_wa_tpm`. This does a simple test of the TPM library.
To run the program, first start the TPM simulator and set the environment variables
as given below. Then run the program:
* `bin/test_wa_tpm \<data directory\> \<log level (1, 2 or 3)\>`

The data directory is where the log file and any TPM temporary files will be stored.
The program displays some intermediate results and should end with:
* `OpenSSL verified the ECDSA Signature`.

### Setting Environment Variables
* Note: as described in [Installing_IBM_software](Installing_IBM_software.md) you
will need to have set the environment variables in the terminal where you launch
Expand Down
2 changes: 1 addition & 1 deletion tpm/src/Ibmtss/Test/Test_wa_tpm/Test_wa_tpm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
int main(int argc, char *argv[])
{
if (argc != 3) {
std::cerr << "Usage: " << argv[0] << " <data directory> <log level (1, 2 or 3>\n";
std::cerr << "Usage: " << argv[0] << " <data directory> <log level (1, 2 or 3)>\n";
return EXIT_FAILURE;
}

Expand Down

0 comments on commit b794896

Please sign in to comment.