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

Timed one time passwords #10

Merged
merged 13 commits into from
May 14, 2024
Merged

Timed one time passwords #10

merged 13 commits into from
May 14, 2024

Conversation

anssip
Copy link
Owner

@anssip anssip commented May 14, 2024

This PR adds timed one time passwords, i.e. support for 2nd factor authentication methods. It also refactors the code base significantly making it cleaner and better.

anssip added 13 commits May 7, 2024 14:56
Refactored the action structure to delay vault unlocking until after user input is received in "add" operations.
This update refactors the application's error handling to use a custom Error type from vault::entities module instead of anyhow::Result for better control and consistency.
- Refactor several functions to improve the handling of the grep option.
- Remove several unnecessary functions in the code to streamline the deletion and showing process.
Enhanced error handling in different action implementations including regular actions such as add, delete, show and import/export. Now returns clearer error messages to the user in case of failures. Also made changes to pass result from save_database to improve error handling.
- Improve documentation
@anssip anssip merged commit 31a7e3f into master May 14, 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.

1 participant