Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate tpm2 code to rust #152

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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