Skip to contentSkip to conversation

Why is the chk_luks_keyslots tool not routinely included?

dm-crypt Robert Nichols 4 participants 6 messages Mar 28, 2020 – Mar 30, 2020

lore
Share & tools
lore
#0 lore raw

What is the rationale behind the chk_luks_keyslots tool not being included by default in cryptsetup packages? It gets tiresome, and a bit embarrassing, explaining to novices who are in trouble that they need to build this tool from source.

Signature · 2 lines
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.
#1 lore raw

I think that is a decision by the distros. I am certainly willing to maintain it for the foreseeable future. It is not really much effort.

Regards,
Arno

Quoted 13 lines · Robert Nichols

What is the rationale behind the chk_luks_keyslots tool not being included by default in cryptsetup packages? It gets tiresome, and a bit embarrassing, explaining to novices who are in trouble that they need to build this tool from source.

Signature · 7 lines
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
Signature · 7 lines
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: [email protected]
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier
#3 lore raw
Quoted 9 lines · Jordan Glover
Quoted 3 lines · Arno Wagner

I think that is a decision by the distros. I am certainly willing to maintain it for the foreseeable future. It is not really much effort.

The distros just do "make install" [1]. I think it's upstream who decides what this command does.

[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/cryptsetup#n39

My plan was to include this check in repair command instead of adding additional binary. (The code could remain basically the same.)

With LUKS2 we can store other data in binary keyslot area (depends on type), so it need a little bit more work but it should not be a big problem.

Please report an issue for it, that helps to not forget about it.

Thanks,
Milan

#4 lore raw
Quoted 14 lines · Milan Broz
Quoted 9 lines · Jordan Glover
Quoted 3 lines · Arno Wagner

I think that is a decision by the distros. I am certainly willing to maintain it for the foreseeable future. It is not really much effort.

The distros just do "make install" [1]. I think it's upstream who decides what this command does.

[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/cryptsetup#n39

My plan was to include this check in repair command instead of adding additional binary. (The code could remain basically the same.)

Quoted 8 lines

With LUKS2 we can store other data in binary keyslot area (depends on type), so it need a little bit more work but it should not be a big problem.

Please report an issue for it, that helps to not forget about it.

Thanks,
Milan

Perfecly fine by me, feel fre to re-use any of the code that is there as you see fit.

Regards,
Arno

Signature · 7 lines
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: [email protected]
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier
#5 lore raw
In reply to Milan Broz
Quoted 11 lines · Milan Broz
Quoted 9 lines · Jordan Glover
Quoted 3 lines · Arno Wagner

I think that is a decision by the distros. I am certainly willing to maintain it for the foreseeable future. It is not really much effort.

The distros just do "make install" [1]. I think it's upstream who decides what this command does.

[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/cryptsetup#n39

Quoted 7 lines

My plan was to include this check in repair command instead of adding additional binary. (The code could remain basically the same.)

With LUKS2 we can store other data in binary keyslot area (depends on type), so it need a little bit more work but it should not be a big problem.

Please report an issue for it, that helps to not forget about it.

Done. https://gitlab.com/cryptsetup/cryptsetup/-/issues/545

Signature · 2 lines
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.