Skip to content
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

Don't break command channel initialization on socket.ErrNotSupported #368

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

hslatman
Copy link
Member

@hslatman hslatman commented Nov 20, 2023

After adding support for interacting with TPMs via UNIX sockets, opening the TPM was broken on Windows, because that specific case wasn't properly checked in code. This PR checks if a UNIX socket TPM command channel is supported, and ignores the error if that's not the case.

@hslatman hslatman requested review from maraino and a team November 20, 2023 12:16
@hslatman hslatman merged commit 5fdfc12 into master Nov 21, 2023
12 of 14 checks passed
@hslatman hslatman deleted the herman/fix-windows-command-channel-initialization branch November 21, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants