Describe the bug
When using a kitten with the set remote_control_password, the user is prompted to confirm the password or request, whether it is correct or not.
To Reproduce
Steps to reproduce the behavior:
- Have this in the
~/.config/kitty/kitty.conf (tested without anything else):
remote_control_password mypass8
allow_remote_control password
- Restart Kitty or reload the conf.
- Run a Kitten using this password, eg.:
kitten @ --password=mypass8 focus-window
- The "Allow remote control?" prompt appears.
Screenshots

Environment details
kitty 0.37.0 (2531c31d02) created by Kovid Goyal
Linux ubuntu 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64
Ubuntu 24.04.1 LTS ubuntu /dev/tty
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"
Running under: X11
OpenGL: '4.1 (Core Profile) Mesa 24.0.9-0ubuntu0.1' Detected version: 4.1
Frozen: True
Fonts:
medium: DejaVuSansMono: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf:0
Features: ()
bold: DejaVuSansMono-Bold: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf:0
Features: ()
italic: DejaVuSansMono-Oblique: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf:0
Features: ()
bi: DejaVuSansMono-BoldOblique: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf:0
Features: ()
Paths:
kitty: /home/ubuntu/.local/kitty.app/bin/kitty
base dir: /home/ubuntu/.local/kitty.app/lib/kitty
extensions dir: /home/ubuntu/.local/kitty.app/lib/kitty-extensions
system shell: /bin/bash
Loaded config files:
/home/ubuntu/.config/kitty/kitty.conf
Config options different from defaults:
allow_remote_control password
remote_control_password:
{'': ('mypass8',)}
Important environment variables seen by the kitty process:
PATH /home/ubuntu/.local/kitty.app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
LANG C.UTF-8
SHELL /bin/bash
DISPLAY :0
USER ubuntu
XDG_SESSION_TYPE x11
XDG_SESSION_CLASS user
XDG_MENU_PREFIX gnome-
XDG_RUNTIME_DIR /run/user/1000
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_DESKTOP ubuntu
XDG_CONFIG_DIRS /etc/xdg/xdg-ubuntu:/etc/xdg
XDG_DATA_DIRS /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
Additional context
This does not happen on older versions, such as the current one in the Ubuntu 22.04 LTS repository (v. 0.32.2), where the prompt only ever appears if the password doesn't match.
Describe the bug
When using a
kittenwith the setremote_control_password, the user is prompted to confirm the password or request, whether it is correct or not.To Reproduce
Steps to reproduce the behavior:
~/.config/kitty/kitty.conf(tested without anything else):kitten @ --password=mypass8 focus-windowScreenshots

Environment details
Additional context
This does not happen on older versions, such as the current one in the Ubuntu 22.04 LTS repository (v.
0.32.2), where the prompt only ever appears if the password doesn't match.