-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Shamir's Secret Sharing on any enrollment method #21088
Description
Describe the solution you'd like
I've seen multiple issues that asks for a way to combine secrets, like those two: #20936 and #19229
I'm currently working on a patch that might address this problem. The patch is intended to bring Shamir's Secret Sharing to
the systemd-cryptenroll and systemd-cryptsetup code in order to combine any kind of current secret enrollment methods.
This patch will also make it possible to combine multiple same enrollment methods like for exemple TPM2 + FIDO2 Token 1 + FIDO2 Token 2.
Describe alternatives you've considered
Aside from this patch, I first implemented a small Proof of Concept which combine FIDO2-HMAC derivation using a TPM2 sealed seed to get my hands on the systemd code without Shamir's Secret Sharing, but i'm note satisfied with this method as it only permits a combination of TPM2 + FIDO2.
The systemd version you checked that didn't have the feature you are asking for
249