Skip to content

Commit

Permalink
Updated the tpm2-tss version for bindings.
Browse files Browse the repository at this point in the history
- Generate the bindings from version 3.2.2 of the
  tpm2-tss library.

- Add comment in the generated bindings from what
  version it was generated.

- Starts using an explicit 4.0.1 version in tests.

Signed-off-by: Jesper Brynolf <jesper.brynolf@gmail.com>
  • Loading branch information
Superhepper committed Feb 25, 2024
1 parent 23994df commit 733e815
Show file tree
Hide file tree
Showing 6 changed files with 2,052 additions and 1,047 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the container
run: docker build -t ubuntucontainer tss-esapi/tests/ --build-arg TPM2_TSS_VERSION=3.0.4 --file tss-esapi/tests/Dockerfile-ubuntu
run: docker build -t ubuntucontainer tss-esapi/tests/ --build-arg TPM2_TSS_VERSION=4.0.1 --file tss-esapi/tests/Dockerfile-ubuntu
- name: Run the container
run: docker run -v $(pwd):/tmp/rust-tss-esapi -w /tmp/rust-tss-esapi/tss-esapi ubuntucontainer /tmp/rust-tss-esapi/tss-esapi/tests/all-ubuntu.sh

Expand Down
2 changes: 1 addition & 1 deletion tss-esapi-sys/regenerate-bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -euf -o pipefail
OPENSSL_GIT="https://github.com/openssl/openssl.git"
OPENSSL_VERSION="OpenSSL_1_1_1j"
TPM2_TSS_GIT="https://github.com/tpm2-software/tpm2-tss.git"
TPM2_TSS_VERSION="2.4.6"
TPM2_TSS_VERSION="3.2.2"

export SYSROOT="/tmp/sysroot"

Expand Down
Loading

0 comments on commit 733e815

Please sign in to comment.