Skip to content

Stop using the control port directly

In a few files, we use the control port directly.

However, we shouldn't do it. Instead, we should pass through some centralized API, and in the future rework that so that it can work also with Arti (see #41843 (closed))

In some files, we import tor-control-port.js, in torbutton.js we also include it, but then define torbutton_send_ctrl_cmd that uses it (but it's used only there).

Edited by Pier Angelo Vendrame
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information