This seems to be a really easy fix in the rules file. patch for version systemd_249.11-0ubuntu3:
# diff -Naur rules.old rules.new --- rules.old 2022-03-08 14:53:55.000000000 +0100 +++ rules.new 2022-05-24 16:17:07.548254564 +0200 @@ -84,7 +84,7 @@ -Dfdisk=false \ -Dpwquality=false \ -Dp11kit=false \ - -Dtpm2=false \ + -Dtpm2=true \ -Doomd=true \ -Dsysext=true \ -Dnscd=true \ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969375 Title: systemd-cryptenroll does not support TPM2 devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1969375/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs