bad file descriptor
Chris Ruff
jcruff at gmail.com
Sat Oct 2 05:44:08 CEST 2010
Anyone seen this error and know what could be the problem? I've tried
rebuilding gnupg (2.0.16) but no luck. It work previously on my
OpenSUSE 11.3 system w/o issue, but now when I try to sign or decrypt
something I get the following errors for each operation. Still works on
my Mac OS X system. Using OpenPGP SmartCard v2.0.
gpg: signing failed: Bad file descriptor
gpg: public key decryption failed: Bad file descriptor
Is it somehow related to scdaemon? I did take an strace when doing
basic detach signing operation on a file:
read(9, "INQUIRE PINENTRY_LAUNCHED 28548\n", 1002) = 32
write(9, "END", 3) = 3
write(9, "\n", 1) = 1
read(9, "ERR 32779 Bad file descriptor <U"..., 1002) = 51
[...skipped messages about missing locales...]
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb733c000
write(2, "gpg: signing failed: Bad file de"..., 41gpg: signing failed:
Bad file descriptor
) = 41
unlink("RR-4568.pdf.asc") = 0
close(8) = 0
write(2, "gpg: signing failed: Bad file de"..., 41gpg: signing failed:
Bad file descriptor
) = 41
munmap(0xb733e000, 32768) = 0
exit_group(2) = ?
--
__________________________________
Chris Ruff
email: jcruff at gmail.com
gpg key: 0xDD55B6FC
gpg fgpr: 1BA1 71D7 ADA7 1E8B 1623
A43D 283B 2F81 BDD5 B810
More information about the Gnupg-users
mailing list