wsltpm

module
v0.0.0-...-6f25c07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: BSD-3-Clause

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

Directories

Path Synopsis
cmd
tester command
pkg
tbs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL