Skip to content

Conversation

@abelino
Copy link
Contributor

@abelino abelino commented Dec 19, 2024

Building swtpm might be a challenge depending on the target platform or OS. The primary goal is to simplify the user experience by removing the need to install external dependencies. This allows developers to focus on building applications around the Software TPM emulator without needing to manage additional system installations.

When developing Elixir firmware for embedded Linux applications, developers can run the firmware on the developers host machine or the target hardware. While the target hardware may include a physical TPM, the host machine might not. This limitation can complicate proper testing of TPM-dependent features.

By using swtpm, a software TPM emulator, developers can run a fully functional TPM on their host machine. Allowing for realistic testing of the firmware in an environment that closely mirrors the behavior of a physical TPM, without relying on additional mocks. This capability allows for better testing and might accelerate the development cycle since it's one less thing the team needs to worry about.

@abelino abelino requested a review from amclain December 19, 2024 19:52
@abelino abelino self-assigned this Dec 19, 2024
@abelino abelino force-pushed the add-basic-swtpm branch 17 times, most recently from b9c6ac3 to 3725aec Compare December 19, 2024 22:34
Comment on lines +9 to +10
- ubuntu-24.04
- ubuntu-22.04
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ (recommended)

Do we really need to test the prior Ubuntu version? What are we getting from testing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are dependency differences between the two and as a rule of thumb we should generally be supporting and testing on the last 2 versions for the major distros.

@abelino abelino force-pushed the add-basic-swtpm branch 8 times, most recently from f4c70e6 to b712ba6 Compare December 20, 2024 00:08
@abelino abelino merged commit 0263c1d into main Dec 20, 2024
4 checks passed
@abelino abelino deleted the add-basic-swtpm branch December 20, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants