-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
[JENKINS-73499] Add a warning if there is a risk of exposing credentials through a non-TLS proxy connection #9491
[JENKINS-73499] Add a warning if there is a risk of exposing credentials through a non-TLS proxy connection #9491
Conversation
…als through a non-TLS connection
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.
Just some non-blocker comments :-)
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.
The warning is always shown as soon as username or password are not empty. Even when I configure a https proxy url or (as in the screenshot) no url is configured.
Ideally this warning is only shown when using a http url.
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.
I don't know how common https proxies are in the wild but maybe support for that should be added to go with this?
I've seen this:
https://www.chromium.org/developers/design-documents/secure-web-proxy/
and
Based on (non-exhaustive) search on the Internet, https proxies are indeed not so common. On the client side, in addition to those you have mentioned,
Do you mean as part of this ticket or in a new ticket? |
Additionally, it seems that people usually don't worry about the http connection because the proxy is usually on a private network. |
Sounds risky to support it then as okhttp is used in a number of places we wouldn't be able to support it fully.
Yes and also its only the initial |
@timja |
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
See JENKINS-73499.
Testing done
Here is a screenshot of my local testing:
For now there is no automated testing. Let me know if I need to add one (I will need some guidance).
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
Before the changes are marked as
ready-for-merge
:Maintainer checklist