| 27 Jun 2023 |
baloo | some of the challenge with tpm2-tss is the pluggable backends | 15:48:09 |
baloo | you load tabrmd and that will load PREFIX/lib/libtss2-tcti-tabrmd.so.0 | 15:48:45 |
baloo | but there is a bunch of trickery everywhere because you could have external modules bringing their own backend | 15:49:08 |
baloo | so you can't just hardwire prefix | 15:49:28 |
baloo | that was a long time ago, don't remember exactly | 15:49:45 |
raitobezarius | must have a good reason | 15:52:33 |
baloo | yes, that's called feature creep | 15:52:59 |
baloo | https://github.com/tpm2-software/tpm2-abrmd/blob/master/src/tcti-tabrmd.c | 16:01:04 |
baloo | this is one of the pluggable tcti | 16:01:10 |
baloo | to access the dbus resource manager just by swapping out the tcti backend | 16:01:37 |
baloo | could be worth rewriting that to use a module and link those backends in /run/ | 16:13:08 |
baloo | https://github.com/NixOS/nixpkgs/pull/240156 | 16:25:50 |