Skip to content

Add binary source and destination settings #122

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

Merged
merged 3 commits into from
Aug 11, 2023
Merged

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Aug 11, 2023

Closes #103.

This provides two ways for folks to work around security restrictions where the binary can only be ran from specific directories or has to be signed.

The former can be worked around by setting the destination, and the latter can be worked around by setting the source and providing signed binaries.

Eventually we should look into providing signed binaries straight from Coder.

I started writing tests, however there are so many VS Code APIs to mock I abandoned the idea. We should revisit once we switch back to the standard testing framework.

I want to use axios.getUri() but it does not take into account the base
URL in older versions.
@code-asher code-asher force-pushed the asher/bin-source-dest branch from c6f5855 to 78c4763 Compare August 11, 2023 20:38
@code-asher code-asher requested a review from kylecarbs August 11, 2023 20:57
@code-asher code-asher merged commit 8193a11 into main Aug 11, 2023
@code-asher code-asher deleted the asher/bin-source-dest branch August 11, 2023 21:03
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.

Allow configuring the source and destination of the Coder binary
2 participants