NITDgpOS / Medium_Grabber

This is an automated program that lets you grab the link of any article under any topic just by logging into your Google linked medium account.
MIT License
12 stars 19 forks source link

Encryption of credentials done and removed need for txt files #33

Closed AdirthaBorgohain closed 5 years ago

AdirthaBorgohain commented 5 years ago

30 I have used pycrypto module in order to encrypt the username and password while storing them in a file. I have also implemented the option for the user to choose not to store his credentials if he wants to. If the user chooses not to store his credentials, he'll need to enter his credentials every time he runs the program. Also, there's no need of any txt files now, hence I removed them. I have updated the readme as well.

@ZER-0-NE please review.

AdirthaBorgohain commented 5 years ago

Hi. Any problem that needs to be addressed in this PR?

ZER-0-NE commented 5 years ago

@AdirthaBorgohain Yes actually. The password is shown in the terminal. Big NO. And the credentials are saved even if I gave a "n". Kindly make changes.

AdirthaBorgohain commented 5 years ago

Will make the changes to the password input. As for the saving of credentials, it is actually case-sensitive. You'd need to enter 'N' instead of 'n' for the credentials not to be saved. I will make it not case-sensitive.