[tpm2] Re: Installing on FreeBSD?
Tadeusz Struk <tstruk at gmail.com> Thu, 31 Mar 2022 12:50:03 -0700
| Newsgroups | dev.linux.lists.tpm2 |
|---|---|
| Message-ID | <[email protected]> |
On 3/31/22 12:16, John Connett wrote: > That's what I would have hoped. However, I've found several problems: > > 1. /usr/local/etc/rc.d/tpm2-abrmd > The line starting "desc=" breaks the script because of the un-quoted > multi-word description text value. Putting quotes around the text value > fixes it. Right, that will be fixed soon. > 2. /dev/tpm0 > This has owner root. A temporary fix is to change the owner to "_tss" which > allows tpm2_getrandom to work. Not sure how the ownership and permissions > are supposed to be set? Right, we are missing some udev rules here. > 3. Hyper-V Virtual TPM not found > With FreeBSD installed on a Generation 2 VM on a Windows 11 host the Virtual > TPM is not found. Ubuntu installed on the same VM does find the Virtual TPM. did you "sudo kldload tpm" ? > Not quite as smooth as I anticipated. However, the problems are probably with > the packaging for FreeBSD rather than tpm2-software issues. I've copied this to > the maintainer of tpm2-tss for FreeBSD in case they have any comments.