Skip to contentSkip to conversation

docs: luks2: Mention key derival function support

PATCH Superseded Petr Vorel 5 participants 6 messages Feb 3, 2021 – Feb 12, 2021

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 docs: luks2: Mention key derival function support

To give users hint why Argon2 (the default in cryptsetup for LUKS2) does not work.

---
Hi,

it'd be nice to have it for Grub 2.06.

Kind regards,
Petr

 docs/grub.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
docs/grub.texi +2 -1
index eeac9b2ce..7360da128 100644
@@ -4291,7 +4291,8 @@ devices; option @option{-b} configures all geli containers that have boot flag s
 
 GRUB suports devices encrypted using LUKS, LUKS2 and geli. Note that necessary
 modules (@var{luks}, @var{luks2} and @var{geli}) have to be loaded manually
-before this command can be used.
+before this command can be used. For LUKS2 only the PBKDF2 key derival
+function is supported (Argon2 is not yet supported).
 @end deffn
 
 
Signature · 1 line
2.30.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Petr Vorel

To give users hint why Argon2 (the default in cryptsetup for LUKS2) does not work.

Quoted 7 lines

---
Hi,

it'd be nice to have it for Grub 2.06.

Kind regards,
Petr

Make sense to me, thanks! I don't see a reason to not include it in v2.06 to set expectations straight.

Patrick

Quoted 20 lines
 docs/grub.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
docs/grub.texi +2 -1
index eeac9b2ce..7360da128 100644
@@ -4291,7 +4291,8 @@ devices; option @option{-b} configures all geli containers that have boot flag s
 
 GRUB suports devices encrypted using LUKS, LUKS2 and geli. Note that necessary
 modules (@var{luks}, @var{luks2} and @var{geli}) have to be loaded manually
-before this command can be used.
+before this command can be used. For LUKS2 only the PBKDF2 key derival
+function is supported (Argon2 is not yet supported).
 @end deffn
 
 
Signature · 1 line
2.30.0
Acked-by on v1 1/1
#2 lore raw
In reply to Petr Vorel

Dear Petr,

Thank you for your patch.

Am 03.02.21 um 12:02 schrieb Petr Vorel:

Quoted 5 lines

To give users hint why Argon2 (the default in cryptsetup for LUKS2) does not work.

---

[…]

Quoted 8 lines
  docs/grub.texi | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
docs/grub.texi +0 -0
index eeac9b2ce..7360da128 100644

docs/grub.texi devices; option @option{-b} configures all geli containers that have boot flag s · line 4295

Quoted 6 lines
docs/grub.texi +2 -1
@@ -4291,7 +4291,8 @@ devices; option @option{-b} configures all geli containers that have boot flag s
 
  GRUB suports devices encrypted using LUKS, LUKS2 and geli. Note that necessary
  modules (@var{luks}, @var{luks2} and @var{geli}) have to be loaded manually
-before this command can be used.
+before this command can be used. For LUKS2 only the PBKDF2 key derival
+function is supported (Argon2 is not yet supported).

Nit: I’d get rid of the parentheses.

Quoted 2 lines

For LUKS2 only the PBKDF2 key derival function is supported, as Argon2 is not yet supported.

Either way:

Kind regards,

Paul

#3 lore raw

Hi Paul, Patrick,

Quoted 4 lines

Dear Petr,

Thank you for your patch.

thanks for your review!

...

Quoted 5 lines

docs/grub.texi devices; option @option{-b} configures all geli containers that have boot flag s · line 4295

Quoted 3 lines
docs/grub.texi +2 -1
-before this command can be used.
+before this command can be used. For LUKS2 only the PBKDF2 key derival
+function is supported (Argon2 is not yet supported).

Nit: I’d get rid of the parentheses.

That's indeed better, thanks!
Sending v2 so that maintainers does not have to amend the patch.

Kind regards,
Petr

Quoted 11 lines
Quoted 2 lines

For LUKS2 only the PBKDF2 key derival function is supported, as Argon2 is not yet supported.

Either way:

Kind regards,

Paul

#4 lore raw
In reply to Petr Vorel
Quoted 20 lines · Petr Vorel

To give users hint why Argon2 (the default in cryptsetup for LUKS2) does not work.

---
Hi,

it'd be nice to have it for Grub 2.06.

Kind regards,
Petr

 docs/grub.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
docs/grub.texi +0 -0
index eeac9b2ce..7360da128 100644

docs/grub.texi devices; option @option{-b} configures all geli containers that have boot flag s · line 4295

Quoted 6 lines
docs/grub.texi +2 -1
@@ -4291,7 +4291,8 @@ devices; option @option{-b} configures all geli containers that have boot flag s
 
 GRUB suports devices encrypted using LUKS, LUKS2 and geli. Note that necessary
 modules (@var{luks}, @var{luks2} and @var{geli}) have to be loaded manually
-before this command can be used.
+before this command can be used. For LUKS2 only the PBKDF2 key derival
+function is supported (Argon2 is not yet supported).

Just a small correction - the proper term is "key derivation function" (not derival).

Milan

author
#5 lore raw

Hi Milan,

...

Quoted 7 lines

docs/grub.texi devices; option @option{-b} configures all geli containers that have boot flag s · line 4295

Quoted 5 lines

GRUB suports devices encrypted using LUKS, LUKS2 and geli. Note that necessary modules (@var{luks}, @var{luks2} and @var{geli}) have to be loaded manually

docs/grub.texi +2 -1
-before this command can be used.
+before this command can be used. For LUKS2 only the PBKDF2 key derival
+function is supported (Argon2 is not yet supported).

Just a small correction - the proper term is "key derivation function" (not derival).

Thanks a lot! I'll send v3.

Kind regards,
Petr

Quoted 1 line

Milan