Skip to content
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

Bug fix + added encryption #4

Merged
merged 6 commits into from Nov 23, 2021
Merged

Bug fix + added encryption #4

merged 6 commits into from Nov 23, 2021

Conversation

Nephty
Copy link
Contributor

@Nephty Nephty commented Nov 22, 2021

If you entered a incorrectly formatted matricule, then a correctly formatted one and confirmed, the script would ask you to confirm the incorrectly formatted one.
Bug fixed.

When the user inputs its matricule and password, the script encrypts them with the public key found in keys/public_key.pem.
The encrypted matricule and password are then stored in config/login.idd.
They can be retrieved by using the retrieve_login() method from the setup.py file.
Encrypted matricule and password can then be decrypted using the decrypt() method from encrypt.py.
Further details can be found in the setup.py file.

If you entered a incorrectly formatted matricule, then a correctly formatted one and confirmed, the script would ask you to confirm the incorrectly formatted one.
Bug fixed.
@Nephty Nephty changed the title Bug fix : possible to bypass incorrect mat formating Bug fix + added encryption Nov 22, 2021
@Exter007 Exter007 merged commit 92fcd4f into Exter007:main Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants