PATCHES: argon2 key derivation for luks2
i'm not sure if the grub devs have seen this or not. anyway, see attached patches. i didn't make these myself but i'm sending them here. it's the PHC (password hash competition) implementation of argon2, adapted for the grub source code. i've been using this in libreboot and it works very well, allows use of cryptomount on modern LUKS2 with argon2 key deriv, so you don't need to downgrade to luks1 or pbkdf2 anymore. i wrote about it here: https://libreboot.org/news/argon2.html
one thing to note is that though the code is free software, it's a permissive non-copyleft license; i still think grub should make use of it, regardless. grub has lacked argon2 for years now, and re-writing it will probably be a lot of wasted effort if the phc one works.
the phc implementation was originally adapted by someone named Axel, to the archlinux aur for grub 2.06:
https://aur.archlinux.org/cgit/aur.git/tree/?h=grub-improved-luks2-git&id=1c7932d90f1f62d0fd5485c5eb8ad79fa4c2f50d
nicholas johnson (https://nicholasjohnson.ch/) contacted me telling me he'd re-adapted the code for grub 2.12, on top of the rc1 tag. i then started using it in libreboot's grub.
it would be nice if this could make it into the grub 2.12 release! the patches are attached.
PS: the original PHC code is here:
https://github.com/P-H-C/phc-winner-argon2
Signature · 1 line
Leah Rowe <[email protected]>
From de6e7cc62522ce1be21bd2f06e7c15cd234b5426 Mon Sep 17 00:00:00 2001
From: Ax333l <[email protected]>
Date: Thu, 17 Aug 2023 00:00:00 +0000
Subject: [PATCH 1/6] Add CC0 license
--- grub-core/kern/dl.c | 3 ++- util/grub-module-verifierXX.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
grub-core/kern/dl.c +2 -1
@@ -470,7 +470,8 @@ grub_dl_check_license (grub_dl_t mod, Elf_Ehdr *e)if (grub_strcmp ((char *) e + s->sh_offset,"LICENSE=GPLv3" ) ==0 ||grub_strcmp ((char *) e + s->sh_offset,"LICENSE=GPLv3+" ) ==0 - ||grub_strcmp ((char *) e + s->sh_offset,"LICENSE=GPLv2+" ) ==0 ) + ||grub_strcmp ((char *) e + s->sh_offset,"LICENSE=GPLv2+" ) ==0 + ||grub_strcmp ((char *) e + s->sh_offset,"LICENSE=CC0" ) ==0 )return GRUB_ERR_NONE ; return grub_error (GRUB_ERR_BAD_MODULE,
util/grub-module-verifierXX.c +2 -1
@@ -236,7 +236,8 @@ check_license (const char * const filename,Elf_Shdr *s =find_section (arch, e,".module_license" , module_size);if (s && (strcmp ((char *) e +grub_target_to_host (s->sh_offset),"LICENSE=GPLv3" ) ==0 ||strcmp ((char *) e +grub_target_to_host (s->sh_offset),"LICENSE=GPLv3+" ) ==0 - ||strcmp ((char *) e +grub_target_to_host (s->sh_offset),"LICENSE=GPLv2+" ) ==0 )) + ||strcmp ((char *) e +grub_target_to_host (s->sh_offset),"LICENSE=GPLv2+" ) ==0 + ||strcmp ((char *) e +grub_target_to_host (s->sh_offset),"LICENSE=CC0" ) ==0 ))return ;grub_util_error ("%s: incompatible license" , filename); }
Signature · 1 line
2.39.2
From 9edaaffac91d593a439e44bac3b6f5558f5a8245 Mon Sep 17 00:00:00 2001
From: Ax333l <[email protected]>
Date: Thu, 17 Aug 2023 00:00:00 +0000
Subject: [PATCH 2/6] Define GRUB_UINT32_MAX
--- include/grub/types.h | 8 ++++++++ 1 file changed, 8 insertions(+)
include/grub/types.h +8 -0
@@ -156,6 +156,7 @@ typedef grub_int32_t grub_ssize_t;#define GRUB_SHRT_MAX 0x7fff#define GRUB_SHRT_MIN (-GRUB_SHRT_MAX - 1)#define GRUB_UINT_MAX 4294967295U +#define GRUB_UINT32_MAX 4294967295U#define GRUB_INT_MAX 0x7fffffff#define GRUB_INT_MIN (-GRUB_INT_MAX - 1)#define GRUB_INT32_MAX 2147483647
@@ -177,6 +178,13 @@ typedef grub_int32_t grub_ssize_t;#define GRUB_TYPE_U_MAX (type) ((unsigned long long)((typeof (type))(~0)))#define GRUB_TYPE_U_MIN (type) 0ULL +# define GRUB_UINT32_C (x) x ## U +# if GRUB_ULONG_MAX >>31 >>31 >>1 ==1 +# define GRUB_UINT64_C (x) x##UL +# elif 1 +# define GRUB_UINT64_C (x) x##ULL +# endif +typedef grub_uint64_t grub_properly_aligned_t ;#define GRUB_PROPERLY_ALIGNED_ARRAY (name, size) grub_properly_aligned_t name[((size) + sizeof (grub_properly_aligned_t) - 1) / sizeof (grub_properly_aligned_t)]
Signature · 1 line
2.39.2
From 5b63da5c4267933f573ca37ce39a073098c443ba Mon Sep 17 00:00:00 2001
From: Ax333l <[email protected]>
Date: Thu, 17 Aug 2023 00:00:00 +0000
Subject: [PATCH 3/6] Add Argon2 algorithm
--- docs/grub-dev.texi | 64 +++ grub-core/Makefile.core.def | 8 + grub-core/lib/argon2/LICENSE | 314 +++++++++++ grub-core/lib/argon2/argon2.c | 232 ++++++++ grub-core/lib/argon2/argon2.h | 264 +++++++++ grub-core/lib/argon2/blake2/blake2-impl.h | 151 ++++++ grub-core/lib/argon2/blake2/blake2.h | 89 +++ grub-core/lib/argon2/blake2/blake2b.c | 388 ++++++++++++++ .../lib/argon2/blake2/blamka-round-ref.h | 56 ++ grub-core/lib/argon2/core.c | 506 ++++++++++++++++++ grub-core/lib/argon2/core.h | 228 ++++++++ grub-core/lib/argon2/ref.c | 190 +++++++ 12 files changed, 2490 insertions(+) create mode 100644 grub-core/lib/argon2/LICENSE create mode 100644 grub-core/lib/argon2/argon2.c create mode 100644 grub-core/lib/argon2/argon2.h create mode 100644 grub-core/lib/argon2/blake2/blake2-impl.h create mode 100644 grub-core/lib/argon2/blake2/blake2.h create mode 100644 grub-core/lib/argon2/blake2/blake2b.c create mode 100644 grub-core/lib/argon2/blake2/blamka-round-ref.h create mode 100644 grub-core/lib/argon2/core.c create mode 100644 grub-core/lib/argon2/core.h create mode 100644 grub-core/lib/argon2/ref.c
docs/grub-dev.texi +64 -0
75 lines not on this page · raw message
grub-core/Makefile.core.def +8 -0
@@ -1215,6 +1215,14 @@ module = { common = lib/json/json.c; }; +module = { + name = argon2; + common = lib/argon2/argon2.c; + common = lib/argon2/core.c; + common = lib/argon2/ref.c; + common = lib/argon2/blake2/blake2b.c; +}; + module = { name = afsplitter; common = disk/AFSplitter.c;
grub-core/lib/argon2/LICENSE new file +314 -0
314 lines not on this page · raw message
grub-core/lib/argon2/argon2.c new file +232 -0
232 lines not on this page · raw message
grub-core/lib/argon2/argon2.h new file +264 -0
264 lines not on this page · raw message
grub-core/lib/argon2/blake2/blake2-impl.h new file +151 -0
151 lines not on this page · raw message
grub-core/lib/argon2/blake2/blake2.h new file +89 -0
89 lines not on this page · raw message
grub-core/lib/argon2/blake2/blake2b.c new file +388 -0
388 lines not on this page · raw message
grub-core/lib/argon2/blake2/blamka-round-ref.h new file +56 -0
56 lines not on this page · raw message
grub-core/lib/argon2/core.c new file +506 -0
506 lines not on this page · raw message
grub-core/lib/argon2/core.h new file +228 -0
228 lines not on this page · raw message
grub-core/lib/argon2/ref.c new file +190 -0
190 lines not on this page · raw message
Signature · 1 line
2.39.2
From 0044d32121bf52c4547c6b3c78f12d7305f57e6b Mon Sep 17 00:00:00 2001
From: Ax333l <[email protected]>
Date: Thu, 17 Aug 2023 00:00:00 +0000
Subject: [PATCH 4/6] Error on missing Argon2id parameters
--- grub-core/disk/luks2.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
grub-core/disk/luks2.c +8 -5
@@ -38,6 +38,7 @@ GRUB_MOD_LICENSE ("GPLv3+");enum grub_luks2_kdf_type {LUKS2_KDF_TYPE_ARGON2I , +LUKS2_KDF_TYPE_ARGON2ID ,LUKS2_KDF_TYPE_PBKDF2 };typedef enum grub_luks2_kdf_type grub_luks2_kdf_type_t ;
@@ -90,7 +91,7 @@ struct grub_luks2_keyslotgrub_int64_t time;grub_int64_t memory;grub_int64_t cpus; - } argon2i; + } argon2;struct {const char *hash;
@@ -160,10 +161,11 @@ luks2_parse_keyslot (grub_luks2_keyslot_t *out, const grub_json_t *keyslot)return grub_error (GRUB_ERR_BAD_ARGUMENT ,"Missing or invalid KDF" ); else if (!grub_strcmp (type, "argon2i") || !grub_strcmp (type, "argon2id")) { - out->kdf.type =LUKS2_KDF_TYPE_ARGON2I ; -if (grub_json_getint64 (&out->kdf.u.argon2i.time, &kdf,"time" ) || -grub_json_getint64 (&out->kdf.u.argon2i.memory, &kdf,"memory" ) || -grub_json_getint64 (&out->kdf.u.argon2i.cpus, &kdf,"cpus" )) + out->kdf.type = !grub_strcmp (type,"argon2i" ) + ?LUKS2_KDF_TYPE_ARGON2I :LUKS2_KDF_TYPE_ARGON2ID ; +if (grub_json_getint64 (&out->kdf.u.argon2.time, &kdf,"time" ) || +grub_json_getint64 (&out->kdf.u.argon2.memory, &kdf,"memory" ) || +grub_json_getint64 (&out->kdf.u.argon2.cpus, &kdf,"cpus" ))return grub_error (GRUB_ERR_BAD_ARGUMENT ,"Missing Argon2i parameters" ); } else if (!grub_strcmp (type, "pbkdf2"))
@@ -459,6 +461,7 @@ luks2_decrypt_key (grub_uint8_t *out_key,switch (k->kdf.type) {case LUKS2_KDF_TYPE_ARGON2I : +case LUKS2_KDF_TYPE_ARGON2ID : ret =grub_error (GRUB_ERR_BAD_ARGUMENT ,"Argon2 not supported" ); goto err;case LUKS2_KDF_TYPE_PBKDF2 :
Signature · 1 line
2.39.2
From 0a21695c55f76f1c958bb633481d55b3168562f7 Mon Sep 17 00:00:00 2001
From: Ax333l <[email protected]>
Date: Thu, 17 Aug 2023 00:00:00 +0000
Subject: [PATCH 5/6] Compile with Argon2id support
--- Makefile.util.def | 6 +++++- grub-core/Makefile.core.def | 2 +- grub-core/disk/luks2.c | 13 +++++++++++-- 3 files changed, 17 insertions(+), 4 deletions(-)
Makefile.util.def +5 -1
@@ -3,7 +3,7 @@ AutoGen definitions Makefile.tpl; library = { name = libgrubkern.a; cflags = '$(CFLAGS_GNULIB)'; - cppflags = '$(CPPFLAGS_GNULIB) -I$(srcdir)/grub-core/lib/json'; + cppflags = '$(CPPFLAGS_GNULIB) -I$(srcdir)/grub-core/lib/json -I$(srcdir)/grub-core/lib/argon2'; common = util/misc.c; common = grub-core/kern/command.c;
@@ -36,6 +36,10 @@ library = { common = grub-core/kern/misc.c; common = grub-core/kern/partition.c; common = grub-core/lib/crypto.c; + common = grub-core/lib/argon2/argon2.c; + common = grub-core/lib/argon2/core.c; + common = grub-core/lib/argon2/ref.c; + common = grub-core/lib/argon2/blake2/blake2b.c; common = grub-core/lib/json/json.c; common = grub-core/disk/luks.c; common = grub-core/disk/luks2.c;
grub-core/Makefile.core.def +1 -1
@@ -1238,7 +1238,7 @@ module = { common = disk/luks2.c; common = lib/gnulib/base64.c; cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; - cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) -I$(srcdir)/lib/json'; + cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) -I$(srcdir)/lib/json -I$(srcdir)/lib/argon2'; }; module = {
grub-core/disk/luks2.c +11 -2
@@ -27,6 +27,7 @@#include <grub/partition.h> #include <grub/i18n.h> +#include <argon2.h> #include <base64.h> #include <json.h>
@@ -462,8 +463,16 @@ luks2_decrypt_key (grub_uint8_t *out_key, {case LUKS2_KDF_TYPE_ARGON2I :case LUKS2_KDF_TYPE_ARGON2ID : - ret =grub_error (GRUB_ERR_BAD_ARGUMENT ,"Argon2 not supported" ); - goto err; + ret =argon2_hash (k->kdf.u.argon2.time, k->kdf.u.argon2.memory, k->kdf.u.argon2.cpus, + passphrase, passphraselen, salt, saltlen, area_key, k->area.key_size, + k->kdf.type ==LUKS2_KDF_TYPE_ARGON2I ? Argon2_i : Argon2_id, +ARGON2_VERSION_NUMBER ); +if (ret) + { +grub_dprintf ("luks2" ,"Argon2 failed: %s\n" ,argon2_error_message (ret)); + goto err; + } +break ;case LUKS2_KDF_TYPE_PBKDF2 : hash =grub_crypto_lookup_md_by_name (k->kdf.u.pbkdf2.hash);if (!hash)
Signature · 1 line
2.39.2
From 6c9a6625c0dc038d1bdbdc13665f40e269e86496 Mon Sep 17 00:00:00 2001
From: Ax333l <[email protected]>
Date: Thu, 17 Aug 2023 00:00:00 +0000
Subject: [PATCH 6/6] Make grub-install work with Argon2
--- util/grub-install.c | 2 ++ 1 file changed, 2 insertions(+)
util/grub-install.c +2 -0
@@ -448,6 +448,8 @@ probe_mods (grub_disk_t disk) {grub_util_cryptodisk_get_abstraction (disk, push_cryptodisk_module,NULL ); +/* HACK: always push argon2 */ +grub_install_push_module ("argon2" ); have_abstractions =1 ; have_cryptodisk =1 ; }
Signature · 1 line
2.39.2
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Adding a few folks who were working on this...
Quoted 21 lines · Leah Rowe via Grub-devel
i'm not sure if the grub devs have seen this or not. anyway, see attached patches. i didn't make these myself but i'm sending them here. it's the PHC (password hash competition) implementation of argon2, adapted for the grub source code. i've been using this in libreboot and it works very well, allows use of cryptomount on modern LUKS2 with argon2 key deriv, so you don't need to downgrade to luks1 or pbkdf2 anymore. i wrote about it here: https://libreboot.org/news/argon2.html
one thing to note is that though the code is free software, it's a permissive non-copyleft license; i still think grub should make use of it, regardless. grub has lacked argon2 for years now, and re-writing it will probably be a lot of wasted effort if the phc one works.
the phc implementation was originally adapted by someone named Axel, to the archlinux aur for grub 2.06:
https://aur.archlinux.org/cgit/aur.git/tree/?h=grub-improved-luks2-git&id=1c7932d90f1f62d0fd5485c5eb8ad79fa4c2f50dnicholas johnson (https://nicholasjohnson.ch/) contacted me telling me he'd re-adapted the code for grub 2.12, on top of the rc1 tag. i then started using it in libreboot's grub.
Quoted 5 lines
it would be nice if this could make it into the grub 2.12 release! the patches are attached.
PS: the original PHC code is here:
https://github.com/P-H-C/phc-winner-argon2
It seems to me this is based on Patrick Steinhardt work. AFAICT Patrick is going to repost new version of the patch set after the release. So, I hope it will be included in the GRUB 2.14. We are not able to take this patch set into upcoming release in this stage of development. Sorry about that...
Daniel
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 27 lines · Daniel Kiper
Adding a few folks who were working on this...
Quoted 24 lines · Leah Rowe via Grub-devel
i'm not sure if the grub devs have seen this or not. anyway, see attached patches. i didn't make these myself but i'm sending them here. it's the PHC (password hash competition) implementation of argon2, adapted for the grub source code. i've been using this in libreboot and it works very well, allows use of cryptomount on modern LUKS2 with argon2 key deriv, so you don't need to downgrade to luks1 or pbkdf2 anymore. i wrote about it here: https://libreboot.org/news/argon2.html
one thing to note is that though the code is free software, it's a permissive non-copyleft license; i still think grub should make use of it, regardless. grub has lacked argon2 for years now, and re-writing it will probably be a lot of wasted effort if the phc one works.
the phc implementation was originally adapted by someone named Axel, to the archlinux aur for grub 2.06:
https://aur.archlinux.org/cgit/aur.git/tree/?h=grub-improved-luks2-git&id=1c7932d90f1f62d0fd5485c5eb8ad79fa4c2f50dnicholas johnson (https://nicholasjohnson.ch/) contacted me telling me he'd re-adapted the code for grub 2.12, on top of the rc1 tag. i then started using it in libreboot's grub.
it would be nice if this could make it into the grub 2.12 release! the patches are attached.
Quoted 9 lines
Quoted 2 lines
PS: the original PHC code is here:
https://github.com/P-H-C/phc-winner-argon2It seems to me this is based on Patrick Steinhardt work. AFAICT Patrick is going to repost new version of the patch set after the release. So, I hope it will be included in the GRUB 2.14. We are not able to take this patch set into upcoming release in this stage of development. Sorry about that...
Patrick also mentioned that he'd prefer it if the bundled gcrypt was updated to a version with Argon2 support rather than adapting the reference implementation, but that it is "a _major_ effort". [1]
- Oskari
[1]: https://lore.kernel.org/grub-devel/Y3xs82f11kZSSi5I@ncase/
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 38 lines · Oskari Pirhonen
Quoted 27 lines · Daniel Kiper
Adding a few folks who were working on this...
Quoted 24 lines · Leah Rowe via Grub-devel
i'm not sure if the grub devs have seen this or not. anyway, see attached patches. i didn't make these myself but i'm sending them here. it's the PHC (password hash competition) implementation of argon2, adapted for the grub source code. i've been using this in libreboot and it works very well, allows use of cryptomount on modern LUKS2 with argon2 key deriv, so you don't need to downgrade to luks1 or pbkdf2 anymore. i wrote about it here: https://libreboot.org/news/argon2.html
one thing to note is that though the code is free software, it's a permissive non-copyleft license; i still think grub should make use of it, regardless. grub has lacked argon2 for years now, and re-writing it will probably be a lot of wasted effort if the phc one works.
the phc implementation was originally adapted by someone named Axel, to the archlinux aur for grub 2.06:
https://aur.archlinux.org/cgit/aur.git/tree/?h=grub-improved-luks2-git&id=1c7932d90f1f62d0fd5485c5eb8ad79fa4c2f50dnicholas johnson (https://nicholasjohnson.ch/) contacted me telling me he'd re-adapted the code for grub 2.12, on top of the rc1 tag. i then started using it in libreboot's grub.
it would be nice if this could make it into the grub 2.12 release! the patches are attached.
Quoted 9 lines
Quoted 2 lines
PS: the original PHC code is here:
https://github.com/P-H-C/phc-winner-argon2It seems to me this is based on Patrick Steinhardt work. AFAICT Patrick is going to repost new version of the patch set after the release. So, I hope it will be included in the GRUB 2.14. We are not able to take this patch set into upcoming release in this stage of development. Sorry about that...
Quoted 7 lines
Patrick also mentioned that he'd prefer it if the bundled gcrypt was updated to a version with Argon2 support rather than adapting the reference implementation, but that it is "a _major_ effort". [1]
- Oskari
[1]: https://lore.kernel.org/grub-devel/Y3xs82f11kZSSi5I@ncase/
Indeed. I had several tries at updating the vendored libgcrypt, but doing this is quite a frustrating experience to say the least. Every time I started I eventually gave up.
So in the end I'm of two minds: yes, it would be great to pull in Argon2 via an updated libgcrypt instead of using the reference implementation. But to be frank, I do not feel like I have the time or the motivation to do the update myself given that it is such a huge task. So in the end, we may just be pragmatic and use the reference implementation for the time being until somebody steps up and does the update of libgcrypt.
I also wouldn't mind if somebody else wants to step up and build on top of the work that I already did, but in that case I'd appreciate a "Based-on-patch-by:" trailer in the commits. But if nobody does, and if Daniel thinks that the reference implementation is okay for now, then I will resubmit the patches once GRUB 2.12 is out of the door.
Patrick
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
(Sending this again due to email client issues)
I updated the description of my AUR package to give credit to Patrick Steinhardt. He is the author of the patches.
I apologize for any confusion I may have caused.
One thing I discovered when maintaining the AUR package is that the argon2 module cannot allocate enough memory on some modern laptops.
I don't know if this is caused by the argon2 implementation, grub's memory manager or bad UEFI implementations. My laptop and some users of my package have been experiencing it. If anyone here wants to look into it, let me know.
- Axel
Quoted 58 lines · Patrick Steinhardt
Quoted 38 lines · Oskari Pirhonen
Quoted 27 lines · Daniel Kiper
Adding a few folks who were working on this...
Quoted 24 lines · Leah Rowe via Grub-devel
i'm not sure if the grub devs have seen this or not. anyway, see attached patches. i didn't make these myself but i'm sending them here. it's the PHC (password hash competition) implementation of argon2, adapted for the grub source code. i've been using this in libreboot and it works very well, allows use of cryptomount on modern LUKS2 with argon2 key deriv, so you don't need to downgrade to luks1 or pbkdf2 anymore. i wrote about it here: https://libreboot.org/news/argon2.html
one thing to note is that though the code is free software, it's a permissive non-copyleft license; i still think grub should make use of it, regardless. grub has lacked argon2 for years now, and re-writing it will probably be a lot of wasted effort if the phc one works.
the phc implementation was originally adapted by someone named Axel, to the archlinux aur for grub 2.06:
https://aur.archlinux.org/cgit/aur.git/tree/?h=grub-improved-luks2-git&id=1c7932d90f1f62d0fd5485c5eb8ad79fa4c2f50dnicholas johnson (https://nicholasjohnson.ch/) contacted me telling me he'd re-adapted the code for grub 2.12, on top of the rc1 tag. i then started using it in libreboot's grub.
it would be nice if this could make it into the grub 2.12 release! the patches are attached.
Quoted 9 lines
Quoted 2 lines
PS: the original PHC code is here:
https://github.com/P-H-C/phc-winner-argon2It seems to me this is based on Patrick Steinhardt work. AFAICT Patrick is going to repost new version of the patch set after the release. So, I hope it will be included in the GRUB 2.14. We are not able to take this patch set into upcoming release in this stage of development. Sorry about that...
Quoted 7 lines
Patrick also mentioned that he'd prefer it if the bundled gcrypt was updated to a version with Argon2 support rather than adapting the reference implementation, but that it is "a _major_ effort". [1]
- Oskari
[1]: https://lore.kernel.org/grub-devel/Y3xs82f11kZSSi5I@ncase/
Indeed. I had several tries at updating the vendored libgcrypt, but doing this is quite a frustrating experience to say the least. Every time I started I eventually gave up.
So in the end I'm of two minds: yes, it would be great to pull in Argon2 via an updated libgcrypt instead of using the reference implementation. But to be frank, I do not feel like I have the time or the motivation to do the update myself given that it is such a huge task. So in the end, we may just be pragmatic and use the reference implementation for the time being until somebody steps up and does the update of libgcrypt.
Quoted 7 lines
I also wouldn't mind if somebody else wants to step up and build on top of the work that I already did, but in that case I'd appreciate a "Based-on-patch-by:" trailer in the commits. But if nobody does, and if Daniel thinks that the reference implementation is okay for now, then I will resubmit the patches once GRUB 2.12 is out of the door.
Patrick
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel