ced2e8779f
* feat: Allow detection of MITM HTTPS proxies like ZScaler For security purposes, Figma heavily restrics the origins that are allowed to load within our Electron app. Unfortunately some corporate environments use MITM proxies like ZScaler, which intercepts our connection to `https://www.figma.com` and serves a redirect to e.g. `https://gateway.zscloud.net` before finally redirecting back to `https://www.figma.com`. In order to detect this situation and handle it gracefully, we need to be able to know whether or not the certificate for our own origin (`https://www.figma.com`) is chained to a known root. We do this by exposesing `CertVerifyResult::is_issued_by_known_root`. If the certification verification passed without the certificate being tied to a known root, we can safely assume that we are dealing with a MITM proxy that has its root CA installed locally on the machine. This means that HTTPS can't be trusted so we might as well make life easier for corporate users by loosening our origin restrictions without any manual steps. * Tweak docs wording |
||
---|---|---|
.. | ||
accelerator_converter.cc | ||
accelerator_converter.h | ||
base_converter.h | ||
blink_converter.cc | ||
blink_converter.h | ||
callback_converter.h | ||
content_converter.cc | ||
content_converter.h | ||
extension_converter.cc | ||
extension_converter.h | ||
file_dialog_converter.cc | ||
file_dialog_converter.h | ||
file_path_converter.h | ||
frame_converter.cc | ||
frame_converter.h | ||
gfx_converter.cc | ||
gfx_converter.h | ||
guid_converter.h | ||
gurl_converter.h | ||
image_converter.cc | ||
image_converter.h | ||
message_box_converter.cc | ||
message_box_converter.h | ||
native_window_converter.h | ||
net_converter.cc | ||
net_converter.h | ||
std_converter.h | ||
time_converter.cc | ||
time_converter.h | ||
value_converter.cc | ||
value_converter.h |