Skip to content

Commit

Permalink
Migrate tpm2 code to rust
Browse files Browse the repository at this point in the history
  • Loading branch information
brandsimon committed Nov 20, 2023
1 parent 3134929 commit a601c0e
Show file tree
Hide file tree
Showing 69 changed files with 1,730 additions and 357 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ jobs:
- run: git submodule update --init --recursive
- run: sudo apt-get update
- run: sudo apt-get --yes install protobuf-compiler cargo shellcheck
dbus-daemon
swtpm swtpm-tools tpm2-abrmd tpm2-tools
libtss2-dev libtss2-tcti-swtpm0 libtss2-tcti-tabrmd0
- run: shellcheck usr/lib/cryptographic_id/* usr/bin/*
usr/lib/initcpio/install/cryptographic-id
usr/lib/dracut/modules.d/90cryptographic-id/module-setup.sh
- run: cargo test --workspace --verbose --locked
- run: dbus-run-session bash tests/run_test.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
/tests/swtpm/.lock
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ test:
image: rust:latest
script:
- apt-get update
- apt-get --yes install protobuf-compiler shellcheck
- apt-get --yes install protobuf-compiler shellcheck dbus-daemon
swtpm swtpm-tools tpm2-abrmd tpm2-tools
libtss2-dev libtss2-tcti-tabrmd0 libtss2-tcti-swtpm0
- git submodule update --init --recursive
- shellcheck usr/lib/cryptographic_id/* usr/bin/*
usr/lib/initcpio/install/cryptographic-id
usr/lib/dracut/modules.d/90cryptographic-id/module-setup.sh
- cargo test --workspace --verbose --locked
- dbus-run-session bash tests/run_test.sh

codespell:
image: ubuntu
Expand Down
Loading

0 comments on commit a601c0e

Please sign in to comment.