Skip to content

remove -k (--insecure) flag from curl - #3676

Open
TheSkibb wants to merge 1 commit into
jfrog:masterfrom
TheSkibb:master
Open

remove -k (--insecure) flag from curl#3676
TheSkibb wants to merge 1 commit into
jfrog:masterfrom
TheSkibb:master

Conversation

@TheSkibb

Copy link
Copy Markdown
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the master branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using `go fmt ./...
    (no go code in commit)

the -k (--insecure) flags skips the verification of whether or not the transfer is actually secure

see https://daniel.haxx.se/blog/2020/01/27/curl-ootw-k-insecure/ on why --insecure really means insecure

since the files are served from jfrogs domain it is in the users interest to know that the certificate is actually validated

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@TheSkibb

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

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.

1 participant