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

Fix JIT configurations on Windows #2497

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

MatisseHack
Copy link
Contributor

JIT configurations don't work on Windows because all configuration files get written as plain text. On Windows, the runner then tries to decrypt the .credentials_rsaparams file using ProtectedData.Unprotect, which fails if the file contents were never encrypted.

I've tested this patch on Windows and Linux and everything seems to work as expected.

@MatisseHack MatisseHack requested a review from a team as a code owner March 20, 2023 18:32
@TingluoHuang TingluoHuang merged commit 0e7ca9a into actions:main Mar 21, 2023
@MatisseHack MatisseHack deleted the fix-windows-jit-configuration branch March 21, 2023 19:06
nikola-jokic pushed a commit to nikola-jokic/runner that referenced this pull request May 12, 2023
* Fix JIT configurations on Windows

* Update src/Runner.Listener/Runner.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants