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

Fixed #392 : Added an option to disable SSH key decryption progress bar #395

Merged
merged 3 commits into from
Dec 24, 2023

Conversation

ExtraClock
Copy link
Contributor

@ExtraClock ExtraClock commented Oct 5, 2023

Fix for #392
Added an option to disable SSH key decryption progress bar:
Screenshot_33

Copy link
Owner

@dlech dlech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. This looks good. Just a couple of suggestions.

@@ -362,7 +362,7 @@ static byte[] GetPassphrase(this PwEntry entry)
return Encoding.UTF8.GetBytes(passphrase);
}

public static ISshKey GetSshKey(this PwEntry entry)
public static ISshKey GetSshKey(this PwEntry entry, KeeAgentExt ext)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of passing the entire extension, can we just have a boolean parameter for enabling/disabling UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dlech , sure

@@ -44,6 +44,10 @@ tab.
external key files linked to password entries are missing. This option
is useful when you use the same KeePass database on multiple computers.


- **Disable SSH key decryption progress bar**: (default: disabled) Do not
show a progress bar during SSH key decryption process.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be helpful to mention that the UI will still be frozen/unresponsive while the keys are being decrypted.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dlech , done

@ExtraClock ExtraClock requested a review from dlech October 6, 2023 15:24
@dlech dlech merged commit 96c59ed into dlech:master Dec 24, 2023
1 check passed
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