Mailing List Archive

Error when signing a key
Hello!

This is my first post to the list.
I compiled gpg 1.4.0, gpgme 1.0.2 and gpa 0.7.0
If I try to sign another key from within gpa, I get:

GPA Error:
The GPGME library returned an unexpected error. The error was:
General error
This is probably a bug in GPA.
GPA will now try to recover from this error.

I'm running Slackware 10: Linux 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004
i686 unknown unknown GNU/Linux

If you tell me how to get more debug output I can post it..

bye!
Dominik
Re: Error when signing a key [ In reply to ]
On Sun, Jan 02, 2005 at 03:10:16PM +0100, Dominik Werder wrote:
> This is my first post to the list.

Welcome Dominik then!

> I compiled gpg 1.4.0, gpgme 1.0.2 and gpa 0.7.0
> If I try to sign another key from within gpa, I get:
>
> GPA Error:
> The GPGME library returned an unexpected error. The error was:
> General error
> This is probably a bug in GPA.
> GPA will now try to recover from this error.
>
> I'm running Slackware 10: Linux 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004
> i686 unknown unknown GNU/Linux

Thanks for reporting.

> If you tell me how to get more debug output I can post it..

You can try running this with the following environment variable set:
GPGME_DEBUG=3:/tmp/gpgme.log
Re: Error when signing a key [ In reply to ]
> You can try running this with the following environment variable set:
> GPGME_DEBUG=3:/tmp/gpgme.log

So here is what gpa writes to the logfile if I try to sign the key. I
stripped everything else because it is very long but if anybody want, I
can send it privately..




posix-io.c:135: closing fd 4
wait.c:160: setting fd 4 (item=0x817a040) done
posix-io.c:135: closing fd 9
wait.c:160: setting fd 9 (item=0x8188e30) done
posix-io.c:135: closing fd 8
wait.c:160: setting fd 8 (item=0x8184cc0) done
posix-io.c:157: set notification for fd 4
posix-io.c:157: set notification for fd 5
posix-io.c:157: set notification for fd 7
posix-io.c:157: set notification for fd 8
posix-io.c:157: set notification for fd 9
posix-io.c:157: set notification for fd 10
posix-io.c:135: closing fd 5
posix-io.c:135: closing fd 7
posix-io.c:135: closing fd 10
posix-io.c:72: fd 9: about to read 4096 bytes
posix-io.c:79: fd 9: got 319 bytes
fd 9: got `pub:u:1024:17:18FE0A4FE0BAFAD1:1102238330:1117790330::u:
fpr:::::::::603551B50FD199BFA3784EF618FE0A4FE0BAFAD1:
sub:u:1024:16:CDAA35559D10862D:1102238341:1117790341:::
fpr:::::::::D7729E7FA2AEF08372976B43CDAA35559D10862D:
uid:u::::::::SirDom (Jabber) <dwerder@gmx.net>:::S9 S8 S7 S3 S2 H2 H3 Z2
Z1,mdc,no-ks-modify:1,p:
'
posix-io.c:72: fd 4: about to read 1024 bytes
posix-io.c:79: fd 4: got 33 bytes
fd 4: got `[GNUPG:] GET_LINE keyedit.prompt
'
wait.c:160: setting fd 8 (item=0x8183788) done
posix-io.c:72: fd 4: about to read 1024 bytes
posix-io.c:79: fd 4: got 16 bytes
fd 4: got `[GNUPG:] GOT_IT
'
posix-io.c:72: fd 9: about to read 4096 bytes
posix-io.c:79: fd 9: got 320 bytes
fd 9: got `pub:u:1024:17:18FE0A4FE0BAFAD1:1102238330:1117790330::u:
fpr:::::::::603551B50FD199BFA3784EF618FE0A4FE0BAFAD1:
sub:u:1024:16:CDAA35559D10862D:1102238341:1117790341:::
fpr:::::::::D7729E7FA2AEF08372976B43CDAA35559D10862D:
uid:u::::::::SirDom (Jabber) <dwerder@gmx.net>:::S9 S8 S7 S3 S2 H2 H3 Z2
Z1,mdc,no-ks-modify:1,pm:
'
posix-io.c:72: fd 4: about to read 1024 bytes
posix-io.c:79: fd 4: got 34 bytes
fd 4: got `[GNUPG:] GET_LINE sign_uid.expire
'
wait.c:160: setting fd 8 (item=0x81797a0) done
posix-io.c:72: fd 4: about to read 1024 bytes
posix-io.c:79: fd 4: got 16 bytes
fd 4: got `[GNUPG:] GOT_IT
'
posix-io.c:72: fd 4: about to read 1024 bytes
posix-io.c:79: fd 4: got 32 bytes
fd 4: got `[GNUPG:] GET_BOOL sign_uid.okay
'
posix-io.c:135: closing fd 4
wait.c:160: setting fd 4 (item=0x81799c8) done
posix-io.c:135: closing fd 9
wait.c:160: setting fd 9 (item=0x818d5c8) done
posix-io.c:135: closing fd 8
wait.c:160: setting fd 8 (item=0x8184b78) done



bye!
Dominik
Re: Error when signing a key [ In reply to ]
On Mon, 03 Jan 2005 21:42:06 +0100, Dominik Werder said:

> posix-io.c:72: fd 4: about to read 1024 bytes
> posix-io.c:79: fd 4: got 32 bytes
> fd 4: got `[GNUPG:] GET_BOOL sign_uid.okay
> '
> posix-io.c:135: closing fd 4

That is GPA problem. Probably it didn't knew what do do with the
prompt "sign_uid.okay" and closed the gpgme context.

Werner