-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
devicetrust: don't invoke powershell when reading system information #50372
Conversation
43238f9
to
d3a0484
Compare
Result of @codingllama @ravicious @gzdunek would any of you mind trying |
I don't have Windows on my Thinkpad, but I know that @nklaassen has a Windows machine. 😏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
The device trust web flow can result in a web browser launching Teleport Connect (which launches tsh, which in turn launches powershell). Some antivirus solutions flag cases where a powershell process is a descendent of a web browser process. In order to avoid being blocked by the antivirus software, we want to read system information directly instead of via powershell.
79f0e4e
to
cef8d83
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I just did another run with the current commit, to be sure. Looks fine.
The device trust web flow can result in a web browser launching Teleport Connect (which launches tsh, which in turn launches powershell).
Some antivirus solutions flag cases where a powershell process is a descendent of a web browser process. In order to avoid being blocked by the antivirus software, we want to read system information directly instead of via powershell.
Changelog: Fixed an issue that could cause some antivirus tools to block Teleport's Device Trust feature on Windows machines.