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

Change to http from https to work around Qualcomm IT SSL issues #390

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

ruby "3.2.3"

source "https://rubygems.org"
source "http://rubygems.org"

Check failure

Code scanning / CodeQL

Dependency download using unencrypted communication channel High

Dependency source URL uses the unencrypted protocol HTTP. Use HTTPS instead.

Copilot Autofix AI 8 days ago

The best way to fix the problem is to change the protocol of the source URL from HTTP to HTTPS. This ensures that the communication channel used to download the dependencies is encrypted, protecting against potential MITM attacks.

To implement this fix, we need to modify the Gemfile to use the HTTPS protocol for the source URL. Specifically, we will change the line source "http://rubygems.org" to source "https://rubygems.org".

Suggested changeset 1
Gemfile

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/Gemfile b/Gemfile
--- a/Gemfile
+++ b/Gemfile
@@ -4,3 +4,3 @@
 
-source "http://rubygems.org"
+source "https://rubygems.org"
 
EOF
@@ -4,3 +4,3 @@

source "http://rubygems.org"
source "https://rubygems.org"

Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options

gem "activesupport"
gem "asciidoctor-diagram", "~> 2.2"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GEM
remote: https://rubygems.org/
remote: http://rubygems.org/
specs:
Ascii85 (1.1.1)
activesupport (8.0.0)
Expand Down
Loading