haaveged + gpg --sign fails with "signing failed: Operation cancelled"

Rainer Hoerbe rainer at hoerbe.at
Thu Mar 23 07:33:36 CET 2017


Just for the record: Adding entropy using haveged does not work in my setup - it will cause the signature to fail without useful error message.

My setup is:
Linux keymgmt 4.9.14-200.fc25.x86_64 #1 SMP Mon Mar 13 19:26:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3

The procedure that repeatedly fails when including haveged:
sudo /usr/sbin/pcscd
sudo /usr/sbin/haveged
gpg2 --import my_pub.gpg
gpg2 --card-status
echo -e "trust\n5\ny" > /tmp/gpg_editkey.cmd
gpg2 --command-file /tmp/gpg_editkey.cmd --edit-key 
gpg2 --sign mydoc.txt

Regards,
Rainer Hörbe
Identinetics GmbH


More information about the Gnupg-users mailing list