booster icon indicating copy to clipboard operation
booster copied to clipboard

fix for #233 (Unable to unlock root partition with tpm2 key)

Open avktech78 opened this issue 4 months ago • 2 comments

avktech78 avatar Aug 14 '25 12:08 avktech78

Thank you for the change! TPM2 support is very much welcome.

One thing that I would really love to see is having a good integration test for this functionality. Could you please describe the sequence of steps to reproduce the original issue, so I can codify it as a test case.

anatol avatar Sep 18 '25 21:09 anatol

The thing is, I've never programmed in Go, but I really missed having this feature. At first, I used a separate old version of systemd-cryptenroll. But at some point, I decided to try updating your code to support tpm2_srk. So I used ChatGPT for that. At the time of publication, I still remembered the details, but now I can hardly remember anything. I'm sorry, I understand that it's important for a developer to have a well-tested product, but all I can say is that this patch works on my computer.

avktech78 avatar Sep 26 '25 06:09 avktech78