bootctl: Add --secure-boot-auto-enroll

When specified, bootctl install will also set up secure boot
auto-enrollment. For now, We sign all variables using the same
certificate and key pair.
This commit is contained in:
Daan De Meyer
2024-11-03 10:46:17 +01:00
parent eac5336c27
commit a07864a4fe
11 changed files with 396 additions and 4 deletions
+4
View File
@@ -504,6 +504,10 @@ size_t char16_strlen(const char16_t *s) {
return n;
}
size_t char16_strsize(const char16_t *s) {
return s ? (char16_strlen(s) + 1) * sizeof(*s) : 0;
}
/* expected size used to encode one unicode char */
static int utf8_unichar_to_encoded_len(char32_t unichar) {