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

Slow decryption performance #5

Open
NilsIrl opened this issue Aug 4, 2021 · 1 comment
Open

Slow decryption performance #5

NilsIrl opened this issue Aug 4, 2021 · 1 comment

Comments

@NilsIrl
Copy link
Owner

NilsIrl commented Aug 4, 2021

About 10 logins can be decrypted per second which is extremely low, regardless of backend (gpgme or gnupg-bin).

In comparison, it takes 1s to download 100 logins from the sync server. We are bottlenecked by decoding the password store.

@timvisee
Copy link
Contributor

timvisee commented Aug 4, 2021

To give some more insight on this: experienced this 'issue' with prs as well.

This is because gpg takes quite some time to decrypt. Doing this concurrently sadly has no effect. You can easily test this by chaining some GPG decrypt commands together.

On my machine it even takes about 0.6 seconds per secret.

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

No branches or pull requests

2 participants