fdo-rs / fido-device-onboard-rs

An implementation of the FIDO Device Onboard (FDO) spec written in Rust.
BSD 3-Clause "New" or "Revised" License
62 stars 34 forks source link

ci: fix integration test with TPM #471

Closed nak3 closed 1 year ago

nak3 commented 1 year ago

Current integration test does not work when TPM2TOOLS_TCTI, TCTI or TEST_TCTI is not set. This patch sets TEST_TCTI when running tets with TPM.

Also, verify if /dev/tpm0 has the read permission.

Fix https://github.com/fedora-iot/fido-device-onboard-rs/issues/470

nak3 commented 1 year ago

I am wondering env variable TEST_TCTI was supposed to be used https://github.com/parallaxsecond/rust-tss-esapi/pull/132 but was not added :thinking:

7flying commented 1 year ago

I am wondering env variable TEST_TCTI was supposed to be used parallaxsecond/rust-tss-esapi#132 but was not added thinking

It might have been the case