0008-Make-grub-install-work-with-Argon2.patch 772 B

123456789101112131415161718192021222324252627
  1. From a04a61ac008379d14749b0a1c47a8c9641c9eed5 Mon Sep 17 00:00:00 2001
  2. From: Ax333l <main@axelen.xyz>
  3. Date: Thu, 17 Aug 2023 00:00:00 +0000
  4. Subject: [PATCH 08/13] Make grub-install work with Argon2
  5. Signed-off-by: Nicholas Johnson <nick@nicholasjohnson.ch>
  6. ---
  7. util/grub-install.c | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/util/grub-install.c b/util/grub-install.c
  10. index 7dc5657bb..cf7315891 100644
  11. --- a/util/grub-install.c
  12. +++ b/util/grub-install.c
  13. @@ -448,6 +448,8 @@ probe_mods (grub_disk_t disk)
  14. {
  15. grub_util_cryptodisk_get_abstraction (disk,
  16. push_cryptodisk_module, NULL);
  17. + /* HACK: always push argon2 */
  18. + grub_install_push_module ("argon2");
  19. have_abstractions = 1;
  20. have_cryptodisk = 1;
  21. }
  22. --
  23. 2.39.2