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

Large gpg keyrings slow down application performance due to automatic Web of Trust checks #6389

Closed
eaon opened this issue Apr 7, 2022 · 0 comments · Fixed by #6390
Closed

Comments

@eaon
Copy link
Contributor

eaon commented Apr 7, 2022

Description

Automatic trustdb checks during gpg operations may cause those operations to run long on instances with large public keyrings, degrading application performance or in extreme cases causing page timeouts.

Steps to Reproduce

  • With a fresh install, run loaddata.py often enough to generate keys for 10-20k sources
  • Repeatedly generate new sources manually and observe intermittent slow response times

Comments

gpg provides the --no-auto-check-trustdb argument that skips regular trustdb checks. Ought to be the right way for us to handle this as we do not make use of the Web of Trust at all.

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 a pull request may close this issue.

1 participant