Doesn't close the /dev/tpm0 file descriptor
λ system-transparency main Ɇ » sshpass -p stboot ssh -p 2222 stboot@localhost \ "chmod +x /tmp/stauth && echo stboot | sudo -S /tmp/stauth endorse --platform-server 0.0.0.0:3000" Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. [sudo] password for stboot: Found IBM SW TPM, implementing spec version 841887744 rev 0 Error reading EK certificate, decoding NV_ReadPublic response: handle 1, error code 0xb : the handle is not correct for the use Listening on 0.0.0.0:3000 Press Ctrl+C to exit On the operator's machine, run: stauth endorse --platform ubuntu:8080 ^C% λ system-transparency main Ɇ » sshpass -p stboot ssh -p 2222 stboot@localhost \ "echo stboot | sudo -S /tmp/stauth quote host -l 0.0.0.0:3000" Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts. [sudo] password for stboot: error opening TPM connection, open /dev/tpm0: device or resource busy
It seems to me like we are not properly closing the fb. Probably want to grab the signal and ensure we are closing the TPM socket properly I think?
Edited by Morten Linderud