Re: Linux DRTM on UEFI platforms

2022-07-22 Thread Brendan Trotter
Hi, On Sat, Jul 23, 2022 at 2:53 AM Daniel P. Smith wrote: > On 7/7/22 23:36, Brendan Trotter wrote: > > On Thu, Jul 7, 2022 at 7:18 PM Daniel P. Smith > > wrote: > >> On 7/5/22 20:03, Brendan Trotter wrote: > >>> On Wed, Jul 6, 2022 at 4:52 AM Daniel P. Smith > >>> wrote: > On 6/10/22

Re: Linux DRTM on UEFI platforms

2022-07-22 Thread Daniel P. Smith
On 7/7/22 23:36, Brendan Trotter wrote: > Hi, > > On Thu, Jul 7, 2022 at 7:18 PM Daniel P. Smith > wrote: >> On 7/5/22 20:03, Brendan Trotter wrote: >> Greetings! >> >> Not sure why I got dropped from distro, but no worries. >> >>> On Wed, Jul 6, 2022 at 4:52 AM Daniel P. Smith >>> wrote:

[PATCH] luks2: Continue trying all keyslots even if there are some failures

2022-07-22 Thread Glenn Washburn
luks2_get_keyslot can fail for a variety of reasons that do not neccesarily mean the next keyslot should not be tried (eg. a new kdf type). So always try the next slot. This will make GRUB more resilient to non-spec json data that 3rd party systems may add. We do not care if some of the keyslots

[PATCH v4 1/2] luks, luks2: Force header.uuid to be NULL terminated

2022-07-22 Thread Glenn Washburn
According to the LUKS specification the uuid header field is of data type "char[]", which is defined as "a string stored as null terminated sequence of 8-bit characters". So enforce this by adding a null byte as the last byte of the uuid. The LUKS2 specification defers to the LUKS1 specification

[PATCH v4 2/2] cryptodisk: Allows UUIDs to be compared in a dash-insensitive manner

2022-07-22 Thread Glenn Washburn
A user can now specify UUID strings with dashes, instead of having to remove dashes. This is backwards-compatability preserving and also fixes a source of user confusion over the inconsistency with how UUIDs are specified between file system UUIDs and cryptomount UUIDs. Since cryptsetup, the

[PATCH v4 0/2] cryptodisk: Allows UUIDs to be compared in a dash-insensitive manner

2022-07-22 Thread Glenn Washburn
Updates since v3: * Rebase onto latest master * Whitespace fixes Glenn Glenn Washburn (2): luks, luks2: Force header.uuid to be NULL terminated cryptodisk: Allows UUIDs to be compared in a dash-insensitive manner grub-core/disk/cryptodisk.c | 4 ++-- grub-core/disk/geli.c | 2 +-

[PATCH v3] efi: Add efitextmode command for getting/setting the text mode resolution

2022-07-22 Thread Glenn Washburn
This command is meant to behave similarly to the 'mode' command of the EFI Shell application. In addition to allowing mode selection by giving the number of columns and rows as arguments, the command allows specifying the mode number to select the mode. Also supported are the arguments "min" and