tmessage icon indicating copy to clipboard operation
tmessage copied to clipboard

implemented encryption with static key

Open csaranbalaji opened this issue 6 years ago • 5 comments

Partially resolves https://github.com/Haider8/tmessage/issues/18

  • Implemented encryption with a static key.
  • added TODO in get_encryption_key function.

csaranbalaji avatar Oct 16 '19 17:10 csaranbalaji

@Haider8 , I couldn't achieve encryption without a static key. Maybe someone else can pick it up.

csaranbalaji avatar Oct 16 '19 17:10 csaranbalaji

@iamareebjamal Can you please take a look here

Haider8 avatar Oct 16 '19 17:10 Haider8

@Haider8 This is incomplete

iamareebjamal avatar Oct 16 '19 17:10 iamareebjamal

@iamareebjamal @Haider8 As mentioned in PR, It is incomplete because end to end encryption isn't achieved. But this would work with the static key which is provided in this PR. The thing which is yet to be done is the exchange of keys between the users which I have mentioned as "someone else can take it". So in this PR the messages are send and received in an encrypted way where the static key is shared among the users (ie) the members who have this key can view the message by using Fernet algorithm. Hopefully you can merge this PR to master or if you don't needed encryption with a static key, you can have it in a new branch called encryption so that someone else can work on it.

csaranbalaji avatar Oct 17 '19 16:10 csaranbalaji

Hello @csaranbalaji! Thanks for updating this PR.

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2019-12-14 15:23:20 UTC

pep8speaks avatar Dec 14 '19 15:12 pep8speaks