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

added a recover function and updated create key function #91

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Rohit-Kumar-Jha-IIT-Roorkee

closes issue #29

type of change: 1) New feature
2)Documentation update

Description of change:

backup key with security question:
after creating a new key, the program will ask to set a security question (like "What is your pet's name?") and provide an answer. It then saves a backup key, which is encrypted using your answer, in a separate file. This ensures that even if you lose the main key, you can still recover it.

key recovery option:
If you lose the main key, the program gives you an option to recover the key by answering the security question correctly. It will use your answer to decrypt the backup key and restore access to your passwords.

also i added the elif choice in main.py to show an option to recover password

implementation details:

files Updated:
create_key() in manager.py
added recover_key() in manager.py
modified main() in main.py to include a recovery option.

demo:
Screenshot 2024-12-17 110219

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.

1 participant