gpgme_op_sign failed: Unknown system error

folkert at folkert at
Wed Apr 13 19:06:05 CEST 2005

> >My program gives me when doing gpgme_op_sign: Unknown system error
> >what could that be?
> >Using library 1.0.2
> I think you need to be more specific. As far as I know this error 
> message means that error code you feed into gpgme_strerror is either 
> unknown or GPG_ERR_UNKNOWN_ERRNO. If it's the former one then there 
> could be a incompatibility between GPGME and installed GPG - for example 
> GPGME attempts to return a newer error code than GPG knows about. If the 
> later - the error comes from GPG but I'm not that familiar with GPG 
> internals.
> I would recomend to get the exact error code return from gpgme_op_sign 
> and then manually feed it into gpg-error utility. Such error codes 
> usually contain source of the error besides the error itself.

Found it: the passphrase callback routine was for the older version of

Folkert van Heusden

Auto te koop, zie:
Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden.
 UNIX admin? Then give MultiTail ( 
 a try, it brings monitoring logfiles to a different level! See for a feature-list.  
Phone: +31-6-41278122, PGP-key: 1F28D8AE
Get your PGP/GPG key signed at!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 282 bytes
Desc: Digital signature
Url : /pipermail/attachments/20050413/36c52ad5/attachment.pgp

More information about the Gnupg-devel mailing list