-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implement secure boot enforcement #19
Conversation
It's still a draft because we need to test it in situation (with a modified XAPI to set the |
handler.c
Outdated
&gEfiGlobalVariableGuid, &data, &data_len); | ||
|
||
if (status != EFI_SUCCESS) | ||
return false; |
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.
If we ever enter this condition, it might deserve a specific WARN log.
varstored.c
Outdated
@@ -532,6 +543,11 @@ varstored_initialize(domid_t domid) | |||
} | |||
} | |||
|
|||
if (!check_secure_boot()) { | |||
ERR("Secure boot is required, but isn't acitvated\n"); |
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.
Typo
ERR("Secure boot is required, but isn't acitvated\n"); | |
ERR("Secure boot is required, but isn't activated\n"); |
c0fd5cc
to
748576c
Compare
Depending on a parameter, varstored aborts if secure_boot_enable is activated, but no certificates are present. Signed-off-by: Andrei Semenov <[email protected]>
748576c
to
0cf78a8
Compare
Signed-off-by: Andrei Semenov <[email protected]>
This setting will be used by varstored to know wheter to allow the start of a VM that has no certificates when secureboot is enabled. Default: false to keep the previous behavior. See: xapi-project/varstored#19 Signed-off-by: BenjiReis <[email protected]>
This setting will be used by varstored to know wheter to allow the start of a VM that has no certificates when secureboot is enabled by writing in the xenstore in `/local/domain/<domid>/platform/secureboot-enforce`. Default: false to keep the previous behavior. See: xapi-project/varstored#19 Signed-off-by: BenjiReis <[email protected]>
This setting will be used by varstored to know wheter to allow the start of a VM that has no certificates when secureboot is enabled by writing in the xenstore in `/local/domain/<domid>/platform/secureboot-enforce`. Default: false to keep the previous behavior. See: xapi-project/varstored#19 Signed-off-by: BenjiReis <[email protected]>
This setting will be used by varstored to know wheter to allow the start of a VM that has no certificates when secureboot is enabled by writing in the xenstore in `/local/domain/<domid>/platform/secureboot-enforce`. Default: false to keep the previous behavior. See: xapi-project/varstored#19 Signed-off-by: BenjiReis <[email protected]>
This setting will be used by varstored to know wheter to allow the start of a VM that has no certificates when secureboot is enabled by writing in the xenstore in `/local/domain/<domid>/platform/secureboot-enforce`. Default: false to keep the previous behavior. See: xapi-project/varstored#19 Signed-off-by: BenjiReis <[email protected]>
This setting will be used by varstored to know wheter to allow the start of a VM that has no certificates when secureboot is enabled by writing in the xenstore in `/local/domain/<domid>/platform/secureboot-enforce`. Default: false to keep the previous behavior. See: xapi-project/varstored#19 Signed-off-by: BenjiReis <[email protected]>
This setting will be used by varstored to know wheter to allow the start of a VM that has no certificates when secureboot is enabled by writing in the xenstore in `/local/domain/<domid>/platform/secureboot-enforce`. Default: false to keep the previous behavior. See: xapi-project/varstored#19 Signed-off-by: BenjiReis <[email protected]>
Closing. See #16 (comment). |
Finally, we don't need to change anymore varstored behaviour |
Reopening following the reopening of #16 |
Looks like I can't reopen it. We'll create another. |
Depending on a parameter, varstored aborts if secure_boot_enable is activated, but no certificates are present.
This behavior was discussed in [https://github.com//issues/16]