gpg 2.2.8: Test FAILures

Claus Assmann ca+gnupg-devel at esmtp.org
Sat Jun 9 15:50:34 CEST 2018


On Sat, Jun 09, 2018, Werner Koch wrote:
> On Sat,  9 Jun 2018 03:48, ca+gnupg-devel at esmtp.org said:

> > gpg: uncompressing failed: Unknown compression algorithm

> What is the output of gpg --version?

gpg (GnuPG) 2.2.8
libgcrypt 1.8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: $HOME/.gnupg ## modified...
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed

ggp has been configured with:
--disable-bzip2 --disable-zip

If at least one compression method is needed, maybe configure should
enforce that?
Otherwise it might be a good idea to let the tests check if they
can succeed at all (its requirement/preconditions are met).

After enabling one compression method only
tests/openpgp/ssh-import.scm
fails; this message:

gpgscm: error running '/etc/ssh': probably not installed
is a bit confusing: /etc/ssh is a directory on the system,
I "guess" the algorithm to look for the ssh binary finds
the directory:

(define path (string-split (getenv "PATH") *pathsep*))
(define ssh #f)
(catch (skip "ssh not found") (set! ssh (path-expand "ssh" path)))

because /etc is in PATH. Maybe it should check if the "item" it
found is actually an executable program?

S_ISREG(st_mode) && (st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))



More information about the Gnupg-devel mailing list