Change the default for allow_remote_control back to no
That way if there are any bugs in the implementation, we wont be exposing users by default. In the future after the implementation has been battle tested, we can revisit.
This commit is contained in:
parent
4005cfdff2
commit
a0568334b5
@ -2718,14 +2718,13 @@ that is used to check every remote control command. See :ref:`rc_custom_auth` fo
|
|||||||
Relative paths are resolved from the kitty configuration directory.
|
Relative paths are resolved from the kitty configuration directory.
|
||||||
''')
|
''')
|
||||||
|
|
||||||
opt('allow_remote_control', 'password', choices=('password', 'socket-only', 'socket', 'no', 'n', 'false', 'yes', 'y', 'true'),
|
opt('allow_remote_control', 'no', choices=('password', 'socket-only', 'socket', 'no', 'n', 'false', 'yes', 'y', 'true'),
|
||||||
long_text='''
|
long_text='''
|
||||||
Allow other programs to control kitty. If you turn this on, other programs can
|
Allow other programs to control kitty. If you turn this on, other programs can
|
||||||
control all aspects of kitty, including sending text to kitty windows, opening
|
control all aspects of kitty, including sending text to kitty windows, opening
|
||||||
new windows, closing windows, reading the content of windows, etc. Note that
|
new windows, closing windows, reading the content of windows, etc. Note that
|
||||||
this even works over SSH connections. The default setting of :code:`password`
|
this even works over SSH connections. The default setting of :code:`no`
|
||||||
asks the user for confirmation when a remote control command is received.
|
prevents any form of remote control. The meaning of the various values are:
|
||||||
The meaning of the various values are:
|
|
||||||
|
|
||||||
:code:`password`
|
:code:`password`
|
||||||
Remote control requests received over both the TTY device and the socket are
|
Remote control requests received over both the TTY device and the socket are
|
||||||
|
|||||||
2
kitty/options/types.py
generated
2
kitty/options/types.py
generated
@ -469,7 +469,7 @@ class Options:
|
|||||||
active_tab_title_template: typing.Optional[str] = None
|
active_tab_title_template: typing.Optional[str] = None
|
||||||
allow_cloning: choices_for_allow_cloning = 'ask'
|
allow_cloning: choices_for_allow_cloning = 'ask'
|
||||||
allow_hyperlinks: int = 1
|
allow_hyperlinks: int = 1
|
||||||
allow_remote_control: choices_for_allow_remote_control = 'password'
|
allow_remote_control: choices_for_allow_remote_control = 'no'
|
||||||
background: Color = Color(0, 0, 0)
|
background: Color = Color(0, 0, 0)
|
||||||
background_image: typing.Optional[str] = None
|
background_image: typing.Optional[str] = None
|
||||||
background_image_layout: choices_for_background_image_layout = 'tiled'
|
background_image_layout: choices_for_background_image_layout = 'tiled'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user