-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Thank you for the plugin!
When scanning the code, I've found the following in http_proxy.dart:
var client = super.createHttpClient(context);
client.badCertificateCallback =
(X509Certificate cert, String host, int port) {
return true;
};
return client;If I'm not mistaken, then that effectively turns off all certificate checks - any communication done with this http client is not protected against a wide range of attacks!
Is there a way to use proxies without disabling certificate checks?
If not I think there should be strong warning somewhere that the plugin should only be used for non-sensitive data or dev environments.
maks and vanyasem
Metadata
Metadata
Assignees
Labels
No labels