kotatogram / kotatogram-desktop

Experimental Telegram Desktop fork.
https://kotatogram.github.io
Other
1.18k stars 120 forks source link

[Feature Request] Add encryption cbc aes for example for groups and chats #442

Open monat78 opened 1 year ago

monat78 commented 1 year ago

Is your feature request related to a problem?

Add passwords to be able to chat in groups and private with cbc :aes keys or some password to make Telegram unable to read it. More private :D

Describe the solution you'd like

When arribe cbc tag decrypt text or file with predefinided password. and to send too. https://erev0s.com/blog/tiny-aes-cbc-mode-pkcs7-padding-written-c/

Describe alternatives you've considered

cbc aes key kl256 pkcs7

Additional context

No response

dynamodan commented 11 months ago

I would appreciate this as well. What I was thinking is a way to send public encryption key to a group, and everything sent to that user comes encrypted and in Base64 or something, and decrypted at the receiving end with a private key such as openssl can encrypt/decrypt. Anything sent unencrypted would show red highlighting, and any user using a telegram client that doesn't have the feature will see scrambled base64 content.

ilya-fedin commented 11 months ago

https://core.telegram.org/api/terms

1.3. As a client developer, you must make sure that all the basic features of the main Telegram apps function correctly and in an expected way both in your app and when users of your app communicate with other Telegram users. It is forbidden to force users of other Telegram clients to download your app in order to view certain messages and content sent using your app.