1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-07 23:27:48 +02:00
gnupg/agent
Werner Koch 4473db1ef2
agent: Kludge to mitigate blocking calls in Libgcrypt.
* agent/gpg-agent.c (agent_libgcrypt_progress_cb): Sleep for 100ms on
"need_entropy".
--

During key generation Libgrypt will read from /dev/random which may
block.  Libgcrypt is not nPth aware and thus the entire process will
block.  Fortunately there is also a select with a short timeout to run
the progress callback.  We detect this in gpg-agent and introduce a
short delay to give other threads (i.e. connections) an opportunity to
run.

This alone is not sufficient, an updated Libgpg-error is also required
to make the lock functions nPth aware.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-11-11 20:36:58 +01:00
..
agent.h agent: Clean up comments. 2016-11-11 08:27:55 +01:00
cache.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-pinentry.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-scd.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
command-ssh.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
command.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
cvt-openpgp.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
findkey.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
genkey.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Kludge to mitigate blocking calls in Libgcrypt. 2016-11-11 20:36:58 +01:00
keyformat.txt Fix more spelling 2016-09-17 16:00:37 +09:00
learncard.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pkdecrypt.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pksign.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
preset-passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
protect-tool.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
protect.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-protect.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
w32main.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00