microsoft / microsoft/WSL

TPM support in WSL distros

Open
#5,178 10 comments 48 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature kconfig
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Is your feature request related to a problem? Please describe.
I'd like to be able to allow Linux to use the TPM module so that I can use it for SSH, GPG, etc from the Linux side of things.

Describe the solution you'd like
I'd like for either Linux to be able to directly talk to the TPM or for some intermediary method (similar to how you can already pass SSH key requests from Linux over to the Windows side using wsl-ssh-agent-gui)

How access is obtained doesn't particularly matter so long as it's possible to access and use from either side (Windows and Linux both)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how WSL currently exposes Linux-side access to Windows services, including the existing SSH forwarding path and the referenced wsl-ssh-agent-gui intermediary. Determine whether TPM access should be direct or brokered, and define done as allowing Linux tools such as SSH and GPG to use the TPM while preserving access from Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cryptography, operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.