Skip to content

AtomicBool/ChatRSA

Repository files navigation

This document was translated from README_CN.md by Gemini.

中文 | English

ChatRSA Logo

A local encryption layer for chat software

GitHub release

The idea originally surfaced in late 2025 but was delayed for half a year.
Thanks to the collaboration between gemini-cli and GPT, it was completed within three days.
However, the architecture feels slightly flawed, so there might not be much time for future maintenance.

Download

You can compile it directly using Visual Studio 2026.

Alternatively, download the latest pre-compiled file (which may not be as up-to-date as a direct build).

Adding Contacts

  1. Exchange the public key printed in the terminal with your friend.
  2. Open UI -> Add Contact.
  3. Enter your friend's Name, paste their public key, and save.

These steps only need to be performed once.

Chatting

Whenever you switch to a different person to chat, Open UI -> Select that contact.

  • After typing your message, press F4. The software will encrypt the message using the public key of the selected person. The workflow is as follows (you may need to modify the source code if this doesn't fit your chat software):
Select All
Copy
Read Clipboard
Encrypt clipboard content
Paste
  • After receiving a message, press F3. The program will automatically simulate key presses to execute the following workflow (you may need to modify the source code if this doesn't fit your chat software):
Select All
Copy
Read Clipboard
Decrypt clipboard content
Display in a floating window

Hotkeys

F2 - Toggle UI (When open, mouse input will not pass through the UI)
F3 - Decrypt
F4 - Encrypt

About

给聊天软件套上“本地加密层”

Topics

Resources

Stars

Watchers

Forks

Packages