module
Version:
v0.0.0-...-6f25c07
Opens a new window with list of versions in this module.
Published: Jun 23, 2022
License: BSD-3-Clause
Opens a new window with license information.
README
¶
WSL TPM
Overview
This project allows Linux programs running in the
Windows Subsytem for Linux
to access the host TPM.
WSL provides the capability to run Windows binaries from Linux. wsltpm is under
development and will eventually comprise two parts:
- cmd/wsltpm.exe (Windows binary) (WIP)
- pkg/wsltpm (Linux-native library) (WIP)
- Implements go-tpm's
transport.TPM
so that go-tpm code can use wsltpm.exe to talk to the host TPM.
Building
Both the tester binary and the wsltpm binary need to be compiled for Windows.
This can be done from Linux with:
GOOS=windows go build ./cmd/tester
Testing
Thanks to the magic of WSL, the Windows binary can be directly run, e.g.:
./tester.exe
Click to show internal directories.
Click to hide internal directories.