[PATCH] Cryptomount support for key files and detached header

2020-11-07 Thread reagentoo
From: Dmitry Baranov Hello. Could someone make initial review? The main difference between this patch and the previous ones is the ability to use a master key file with a detached header. This patch does not provide luks1 and geli support yet (luks2 only). Best Regards, Dmitry --- grub-core/di

[PATCH v2 0/2] error: Do compile-time format string checking on grub_error.

2020-11-07 Thread Glenn Washburn
I've separated this into two patches from the previous one, but nothing else has changed (except the commit message). I think at least the first patch should be applied. Since I don't have a setup to test every architecture+platform build of grub, I can't gaurantee that the second patch won't cause

[PATCH v2 1/2] error: Fix issues mostly related to incorrect length modifiers in calls to grub_error().

2020-11-07 Thread Glenn Washburn
The issues fixed here do not produce crashes that I'm aware of. However, they do fix unintended error string output. Signed-off-by: Glenn Washburn --- grub-core/commands/pgp.c | 2 +- grub-core/disk/ata.c | 4 ++-- grub-core/disk/cryptodisk.c| 14 --

[PATCH v2 2/2] error: Do compile-time format string checking on grub_error.

2020-11-07 Thread Glenn Washburn
This should prevent the current situation where there were many format string errors found and thus improve the quality of error reporting. Signed-off-by: Glenn Washburn --- include/grub/err.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/grub/err.h b/include/grub