From 470a70db5794205e6d6b270761a7b76a55a56607 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 7 Jun 2026 06:52:27 +0530 Subject: [PATCH] Remind user to not transfer files from machines they dont trust --- kitty/file_transmission.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kitty/file_transmission.py b/kitty/file_transmission.py index 7fc3d5b5e..d953d24d5 100644 --- a/kitty/file_transmission.py +++ b/kitty/file_transmission.py @@ -1172,7 +1172,8 @@ def start_send(self, asd_id: str) -> None: window = boss.window_id_map.get(self.window_id) if window is not None: boss.confirm(_( - 'The remote machine wants to read some files from this computer. Do you want to allow the transfer?'), + 'The remote machine wants to read some files from this computer.' + ' Only allow transfers to computers you trust. Do you want to allow the transfer?'), self.handle_receive_confirmation, asd_id, window=window, ) @@ -1202,7 +1203,8 @@ def start_receive(self, ar_id: str) -> None: window = boss.window_id_map.get(self.window_id) if window is not None: boss.confirm(_( - 'The remote machine wants to send some files to this computer. Do you want to allow the transfer?'), + 'The remote machine wants to send some files to this computer.' + ' Only allow transfers from computers you trust. Do you want to allow the transfer?'), self.handle_send_confirmation, ar_id, window=window, )