In Debian bug #503853 a problem has been reported, that gnupg hangs on truncated
output:
% echo '1234' | gpg --sign > foo
<I enter my passphrase>
% ls -l foo -rw-r--r-- 1 wisq wisq 98 2008-10-28 15:19 foo % dd if=foo of=bar bs=1 count=97 97+0 records in 97+0 records out 97 bytes (97 B) copied, 0.000480021 s, 202 kB/s % gpg --verify bar
<hangs>
CPU usage then is 100%. Can this be catched and fixed?