-
Notifications
You must be signed in to change notification settings - Fork 39
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
Enable TPM emulation #23
Conversation
47ef2b2
to
6b07af4
Compare
Good news is it seems to be triggered just fine with:
although fails as ros-installer is built with CGO_ENABLED=0:
|
Seems tests failed just for a timeout:
As the ros-operator was coming up still. |
The following commit enables TPM emulation and its configuration in the os2 configuration file. TPM Emulation is considered unsafe and meant only for testing purposes. For example, to enable tpm emulation with a static seed, disabling also smbios headers: ``` rancheros: tpm: emulated: true no_smbios: true seed: "5" ``` It also adds a specific test for config file reading via ws with tpm. Closes: #20 Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Seems to work, as I've tested this manually. getting another unrelated issue now that @kkaempf is facing too, but that deserves its own PR. this one shouldn't be blocked:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks pretty simple :)
However I am still concerned we are forced to make use of TPM, isn't it a limitation in the world of embedded or tiny devices? Anyway that's another discussion.
I fully agree here, let's leave it indeed for a follow-up discussion |
The following commit enables TPM emulation and its configuration in the
os2 configuration file.
TPM Emulation is considered unsafe and meant only for testing purposes.
For example, to enable tpm emulation with a static seed, disabling also
smbios headers:
It also adds a specific test for config file reading via ws with tpm.
Closes: #20
Signed-off-by: Ettore Di Giacinto edigiacinto@suse.com