-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add --cert*
options
#6
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
Conversation
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.
Copilot reviewed 1 out of 6 changed files in this pull request and generated 3 comments.
Files not reviewed (5)
- src/code-server/devcontainer-feature.json: Language not supported
- src/code-server/install.sh: Language not supported
- test/code-server/code-server-cert-host.sh: Language not supported
- test/code-server/code-server-cert.sh: Language not supported
- test/code-server/scenarios.json: Language not supported
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.
Great, this approach should make the cert flags shell safe even if the names contain spaces or other special chars. 👍🏻
src/code-server/install.sh
Outdated
CERT_FLAGS+=(--cert) | ||
CERT_FLAGS+=("$CERT") |
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.
Suggestion: Alternative way:
CERT_FLAGS+=(--cert) | |
CERT_FLAGS+=("$CERT") | |
CERT_FLAGS+=(--cert "$CERT") |
Add new configuration options for custom SSL certificates:
cert
: Path to certificatecertKey
: Path to certificate keycertHost
: Hostname for self-signed certificate