Package: libgpgme11
Version: 1.0.2-1
Severity: normal

When gpg is misconfigured, like say
|>grep XXX .gnupg/options 
|trusted-key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
, gnupg does not handle this sanely but reports no error but just
returns no data.

The following code outputs "Huh?" in such situations
(with both the stable version and a vanilla unstable version
 compiled on stable):

assert( gpgme_data_new_from_file(&sig, filename, 1) == 0 );
assert( gpgme_data_new(&plain) == 0);
if(  gpgme_op_verify(context,sig,NULL,plain) == 0 ) {
        plain_data = gpgme_data_release_and_get_mem(plain,&plain_len);
        if( plain_data == NULL ) {
                fprintf(stderr, "Huh?");
        }
}

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libgpgme11 depends on:
ii  gnupg                 1.4.1-1.sarge5     GNU privacy guard - a free PGP rep
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libgpg-error0         1.0-1              library for common error values an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to