Write the code to encrypt rc messages to kitty

This commit is contained in:
Kovid Goyal
2022-08-09 20:17:18 +05:30
parent e64b1ba67c
commit 2aee746da9
3 changed files with 149 additions and 21 deletions

View File

@@ -28,6 +28,7 @@ _plat = sys.platform.lower()
is_macos: bool = 'darwin' in _plat
is_freebsd: bool = 'freebsd' in _plat
is_running_from_develop: bool = False
RC_ENCRYPTION_PROTOCOL_VERSION = '1'
if getattr(sys, 'frozen', False):
extensions_dir: str = getattr(sys, 'kitty_run_data')['extensions_dir']