envoy-mobile icon indicating copy to clipboard operation
envoy-mobile copied to clipboard

ios/android proxy: support proxy with auth

Open Augustyniak opened this issue 3 years ago • 0 comments

At least on iOS, system proxy settings screen does allow it users to specify login and password that should be used to authenticate with a given proxy. We should look into whether we need to support proxy auth on Android.

Screen Shot 2022-09-28 at 10 02 44 AM

^ A part of the proxy settings screen on iOS

Looking at the cronet code (networking library) - thank you @RyanTheOptimist! - it seems that we do not need to support proxy auth on Android. This is the comment that can be found in the library's code:

// - kCFProxyPasswordKey : Despite the existence of these keys in the
//                         documentation, they're never populated. Even if a
//                         username/password were to be set in the network
//                         proxy system preferences, we'd need to fetch it
//                         from the Keychain ourselves. CFProxy is such a
//                         tease.

source

Augustyniak avatar Sep 28 '22 14:09 Augustyniak