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

Error handling when a key is not loaded #57

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

TanmayArya-1p
Copy link
Contributor

Closes
Issue #56

Type of Change

Put x inside the square bracket to specify what type of change your PR is:

  • Bug Fix

Description:
Created validate_key_loaded(PasswordManager) function in main.py so others can also use it if required.
A state in Password Manager is created as a property which is True once a key is loaded

Now if the user tries to run an action that requires the key to be loaded without first loading the key then the user is prompted to load the key first

image

@IronJam11 IronJam11 merged commit d8545c1 into IMGIITRoorkee:main Dec 17, 2024
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.

2 participants