Re: [PATCH gnupg v15] Disable CPU speculation-related misfeatures

Werner Koch via Gnupg-devel <[email protected]> Mon, 14 Jul 2025 16:09:11 +0200
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
Hi!

I was about to apply the patch with additionl configure option but I now
noticed that:

> +  gnupg_sleep (1);

This is a no-go: It would drop performance too hard.  We often call a
dozen gpg processes per second and having each one to last at least a
second decreases application performance in an inaccepatble way and,
rightfully, user will report a bug.  Doing this in the gpg-agent _might_
acceptable (because it is a long lasting process). For gpg, gpgconf,
gpgsm, gpg-connect-agent, gpg-check-pattern it is a no-go.

Did you actually tried to use gnupg in a real world application (reading
and sending mails to several recipients, or browsing a list of signed
mails)?

What about codumenting your effort and providing a patch, so that ppl
can apply it if they feeel they need it?


Shalom-Salam,

   Werner


-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
openpgp-digital-signature.asc (application/pgp-signature, 247 B)
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCaHUPhw0cd2tAZ251cGcu
b3JnAAoJEBnMHJ4IWxB6L0IBAKoSGSAwmIBy3TWmLkbzZgmnCrVA98HGAX3INDrS
I5HwAQCZnJ+pymuu47uVtTbyMciY38CfuIWWNB1pa3xJ7AKsDQ==
=kOzq
-----END PGP SIGNATURE-----