Re: GPGME signing problem

2005-12-20 Thread Werner Koch
On Thu, 15 Dec 2005 17:46:05 +0100, Milan Lehocky said: fd 3: got `[GNUPG:] GET_HIDDEN passphrase.enter ' posix-io.c:340: gpgme:select on [ r3 r10 ] posix-io.c:386: select OK [ ] posix-io.c:340: gpgme:select on [ r3 r10 ] posix-io.c:386: select OK [ ] posix-io.c:340: gpgme:select on [ r3

Re: GPGME signing problem

2005-12-20 Thread Milan Lehocky
Hi, I found the problem: the script mkstatus (which should generate status-table.h) is not working because of awk used there. The awk on my SunOS 5.8 seems not to accept using variables without '-vvar=value' etc.. I modified the script and it works now :) Thanks o lot for your time, Milan On

Re: GPGME signing problem

2005-12-15 Thread Milan Lehocky
this is from log (plain text already passed to gpg): posix-io.c:340: gpgme:select on [ r3 ] posix-io.c:386: select OK [ r3 ] posix-io.c:72: fd 3: about to read 1024 bytes posix-io.c:79: fd 3: got 94 bytes fd 3: got `[GNUPG:] USERID_HINT 30E8F3701B56AE33 Application (toto je testovaci

Re: GPGME signing problem

2005-12-14 Thread Werner Koch
On Tue, 13 Dec 2005 17:35:05 +0100, Milan Lehocky said: The passphrase callback function is never called.. - that is strange. I'm running SunOS 5.8. Please run in debug mode: $ GPGME_DEBUG=5:/tmp/mygpgme.log ./myapp (the file name is optional, it defaults to stderr) Shalom-Salam, Werner

GPGME signing problem

2005-12-13 Thread Milan Lehocky
Hi, running the example t-sign.c (gpgme-1.0.3) hangs on function gpgme_op_sign() when the passphrase_cb is set. If I remove the gpgme_set_passphrase_cb(..) example ends with no signatures made. The passphrase callback function is never called.. - that is strange. I'm running SunOS 5.8. I also