I went all out to get this working a bit ago, I was in my final phase of testing when I ran out of time, so this may only be 90% of the way there - i.e. forgive/expect typos!
If you can successfully use cryptenroll with tpm2 then I suspect the bits you need for this to work are in the 'patches' directory of that repo.
If you cannot, then you may have joy using the full install.sh script from a fresh install of 22.04
Hi All,
This has been (rightly) divided in to two issues in launchpad, but I addressed it as one in my scripts. I've published them at:
https:/ /github. com/wmcelderry/ systemd_ with_tpm2
I went all out to get this working a bit ago, I was in my final phase of testing when I ran out of time, so this may only be 90% of the way there - i.e. forgive/expect typos!
If you can successfully use cryptenroll with tpm2 then I suspect the bits you need for this to work are in the 'patches' directory of that repo.
If you cannot, then you may have joy using the full install.sh script from a fresh install of 22.04
Let me know how you get on & Good luck!
Will.