From 91dbcf4df045b8e2110b8b887ae7af97e1be964b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 11 Aug 2022 07:29:56 +0530 Subject: [PATCH] Link to encryption spec --- docs/rc_protocol.rst | 2 ++ docs/remote-control.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/rc_protocol.rst b/docs/rc_protocol.rst index e716e28a1..d61272d88 100644 --- a/docs/rc_protocol.rst +++ b/docs/rc_protocol.rst @@ -40,6 +40,8 @@ with the following command line:: echo -en '\eP@kitty-cmd{"cmd":"ls","version":[0,14,2]}\e\\' | socat - unix:/tmp/test | awk '{ print substr($0, 13, length($0) - 14) }' | jq -c '.data | fromjson' | jq . +.. _rc_crypto: + Encrypted communication -------------------------- diff --git a/docs/remote-control.rst b/docs/remote-control.rst index 55fb2229c..4452749c7 100644 --- a/docs/remote-control.rst +++ b/docs/remote-control.rst @@ -209,7 +209,7 @@ decision is remembered for the duration of that kitty instance. For password based authentication to work over SSH, you must pass the :envvar:`KITTY_PUBLIC_KEY` environment variable to the remote host. The :doc:`ssh kitten ` does this for you automatically. When - using a password, public key cryptography is used to ensure the password + using a password, :ref:`rc_crypto` is used to ensure the password is kept secure. This does mean that using password based authentication is slower as the entire command is encrypted before transmission. This can be noticeable when using a command like ``kitty @ set-background-image``