Cryptodisk fixes for v2.06
Sep 17, 2020 8:14:40 AM Patrick Steinhardt <[email protected]>:
Quoted 35 lines · Patrick Steinhardt
Quoted 11 lines
this is the third version of this patchset, collecting various fixes for LUKS2/cryptodisk for the upcoming release of GRUB v2.06.
Besides my Reviewed-by tag, the only thing that changed is the final patch by Glenn. Quoting him:
Quoted 5 lines
The main difference with this patch is that
sector_sizeis renamed tolog_sector_size, grub has enough inaccurate or misleading names. Additionally, renameLOG_SECTOR_SIZEtoLUKS_LOG_SECTOR_SIZEandCRYPT_LOG_SECTOR_SIZEtoGRUB_CRYPTODISK_IV_LOG_SIZEand moved to cryptodisk.h. Also a comment was reworded for clarity.A subset of these patches has been applied by Daniel, leaving us at (rearranged for better readability):
Quoted 3 lines
Glenn Washburn (6):
cryptodisk: Fix incorrect calculation of start sector
cryptodisk: Unregister cryptomount command when removing moduleBoth were picked.
Quoted 5 lines
luks2: Fix use of incorrect index and some error messages
luks2:grub_cryptodisk_t->total_lengthis the max number of device native sectors
cryptodisk: Fix cipher IV mode 'plain64' always being set as 'plain'
cryptodisk: Properly handle non-512 byte sized sectorsThese weren't yet and got some feedback.
Quoted 4 lines
Patrick Steinhardt (3):
json: Remove invalid typedef redefinition
luks: Fix out-of-bounds copy of UUID
luks2: Improve error reporting when decrypting/verifying key
Quoted 5 lines
All three of these have been applied.
@Glenn: seeing that all of my patches have been applied, do you want to take over your remaining four patches again? That'd probably make the process easier for both of us.
Sure, I can do that. I've been traveling for the last several weeks with little connectivity and limited time, which is why I haven't been active in addressing the responses on this thread. Thanks for helping move this forward