-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional file encryption #2
Comments
Would be nice, but where should you/the bot save the encryption key? It could not be other than the chat (as it happens now with filesystem) to avoid data go outside Telegram, but this doesn't end in a real zero-knowledge application. Anyway @Arturro43, do you have an idea on how to achieve your suggestion? If yes, feel free to open a PR! |
I don't have programming skills, but my friend told me, that "homomorphic encryption" which allows to perform an operation on encrypted data without decrypting them in such a way that the result is identical to that which would be obtained if the operation were performed on unencrypted data So, for example, the sender sends an encrypted key to the bot, the bot performs a homomorphic operation on the key whose argument is a symmetric key and sends back. The sender decrypts and compares what he has received with the input data and in this way they determine the symmetric key. |
Maybe it could work, but the user would have the responsibility to safely store the key |
A nice addition would be to add the ability to encrypt files (e.g. using AES256) to achieve a zero-knowledge cloud out of Telegram's cloud storage.
The text was updated successfully, but these errors were encountered: