New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TPM support in WSL distros #5178
Comments
@therealkenc, to support the feature mentioned we'd need some form of a vTPM provided to the guest by the hypervisor (on top of the said config being enabled) but it seems Hyper-V already has such a feature according to https://docs.microsoft.com/en-us/powershell/module/hyper-v/enable-vmtpm. |
I tried going along with this method. I'm not sure if this post refers to WSL2 or WSL v1 - but WSL2 distros do not appear as HyperV Virtual Machines so it's not possible to |
WSL2 isn't run on Hyper-V (as in, the userland Hyper-V API), so cannot be "controlled" with the PowerShell features as such. I merely mentioned it in that it exists in one of the Hyper-V APIs so it shouldn't be impossible to add such a feature to another. |
Has there been any progress on this issue? |
my WSL2 Ubuntu distrinution not detect my TPM module activated and not create any /dev/tpm0 device file to be used. How can I resolve that? |
I'd like to use this feature with WSL2 Debian--it's not necessary or anything, I'm just wondering if it's possible. |
Highly interested (and in need) of this. Some type of update / priority on this would be absolutely amazing. |
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)
The text was updated successfully, but these errors were encountered: