gpgme 1.5.5 tests failing [was: Re: GPGME 1.5.5 released]

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jun 12 17:49:38 CEST 2015


On Mon 2015-06-08 09:29:59 -0400, Werner Koch wrote:

> We are pleased to announce version 1.5.5 of GPGME.
>
>   GnuPG Made Easy (GPGME) is a C language library that allows to add
>   support for cryptography to a program.  It is designed to make access
>   to public key crypto engines as included in GnuPG easier for
>   applications.  GPGME provides a high-level crypto API for encryption,
>   decryption, signing, signature verification, and key management.
>   
>
> * Noteworthy changes in version 1.5.5
>
>   - Fixed crash in key listings for user ids with a backslash.  This bug
>     was not exploitable except for a DoS (see commit 0d28a69).
>   
>   - Fixed regression for GPGSM use with GnuPG < 2.1.
>
>   - Properly set signature summary for revoked OpenPGP keys.


I've built this for debian, and it works for me when building against
GnuPG (and gpg-agent) 2.1.5.  However, on a headless build daemon that
i'm using which has gnupg (and gpg-agent) 2.0.28, the tests all fail:

------------
...
echo x > ./private-keys-v1.d/gpg-sample.stamp
starting gpg-agent
error starting gpg-agent
PASS: initial.test
t-encrypt.c:60: GPGME: Inappropriate ioctl for device
FAIL: t-encrypt
t-encrypt-sym.c:67: GPGME: Inappropriate ioctl for device
FAIL: t-encrypt-sym
t-encrypt-sign.c:116: GPGME: Inappropriate ioctl for device
FAIL: t-encrypt-sign
t-sign.c:124: GPGME: Inappropriate ioctl for device
FAIL: t-sign
t-signers.c:119: GPGME: Inappropriate ioctl for device
FAIL: t-signers
t-decrypt.c:65: GPGME: Inappropriate ioctl for device
FAIL: t-decrypt
t-verify.c:223: GPGME: Inappropriate ioctl for device
FAIL: t-verify
t-decrypt-verify.c:123: GPGME: Inappropriate ioctl for device
FAIL: t-decrypt-verify
t-sig-notation.c:149: GPGME: Inappropriate ioctl for device
FAIL: t-sig-notation
t-export.c:57: GPGME: Inappropriate ioctl for device
FAIL: t-export
t-import.c:229: GPGME: Inappropriate ioctl for device
FAIL: t-import
t-trustlist.c:50: GPGME: Inappropriate ioctl for device
FAIL: t-trustlist
t-edit.c:135: GPGME: Inappropriate ioctl for device
FAIL: t-edit
t-keylist.c:141: GPGME: Inappropriate ioctl for device
FAIL: t-keylist
t-keylist-sig.c:95: GPGME: Inappropriate ioctl for device
FAIL: t-keylist-sig
t-wait.c:59: GPGME: Inappropriate ioctl for device
FAIL: t-wait
t-encrypt-large.c:120: GPGME: Inappropriate ioctl for device
FAIL: t-encrypt-large
t-file-name.c:70: GPGME: Inappropriate ioctl for device
FAIL: t-file-name
PASS: t-gpgconf
t-eventloop.c:201: GPGME: Inappropriate ioctl for device
FAIL: t-eventloop
t-thread1.c:124: GPGME: Inappropriate ioctl for device
FAIL: t-thread1
gpg-agent not running
PASS: final.test
======================================
20 of 23 tests failed
Please report to http://bugs.gnupg.org
======================================
------------

Any suggestions of what to look for in debugging this?

    --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: </pipermail/attachments/20150612/b8646f1c/attachment-0001.sig>


More information about the Gnupg-devel mailing list