This is a strange one:
To reproduce for me:
export GNUPGHOME=$(mktemp -d) gpg --yes --pinentry-mode loopback --passphrase "test" --quick-gen-key test@example.com echo Hello | gpg -er test@example.com > $GNUPGHOME/pgp-enc # unlock the key gpg --pinentry-mode loopback --passphrase "test" -d $GNUPGHOME/pgp-enc ./run-threaded --no-list --threads 10 --data-type 3 --repeat 10 $GNUPGHOME/pgp-enc
Sometimes a pinentry pops up. Which I find quite surprising.