The TPM bus encryption and integrity protection changes prepared by @jejb and @jarkko were merged for #Linux 6.10: https://git.kernel.org/torvalds/c/b19239143e393d4b52b3b9a17c7ac07138f2cfd4
"[…] The key pair on TPM side is generated from so called null random seed per power on of the machine [1]. This supports the TPM encryption of the hard drive by adding layer of protection against bus interposer attacks. […]"
I should publish this humble and not so exciting crate (stalled since Dec) and now I found the motivating factor. I make it compile with gccrs
.
Maybe this will leads to contributions, who knows, or epic failure but should be interesting and exciting in all cases :-)
The stimulus obviously comes from GCC 14 release, which has the first experimental version of gccrs
. And in my free time I do prefer GPL licensed code base for utilities and apps over MIT/Apache, so gccrs
makes more sense for me than rustc
in that sense (and not judging other viewpoints, it is my personal and subjective preference).