On Wed, Jan 28, 2015 at 02:44:53PM +0100, Jason A. Donenfeld wrote: > On Wed, Jan 28, 2015 at 2:36 PM, Theo Chatzimichos <[email protected]> > wrote: > > I am having failing tests in 1.6.4 while packaging it for openSUSE. The > > build > > log is here [1]. I haven't done any investigation yet to see what is wrong, > > but > > any hints from you would be welcome. The build log also mentions the > > versions > > of the dependant packages it downloads > > Oh boy oh boy. This looks like there's a bug in GnuPG 2.1.1 that > interferes with the test harness. Two bugs actually. In the first, > gpg-agent is prompted for passphrases for keys which do not have > passphrases. In the second, the --with-colons output is garbled. I'll > write to upstream. In the meantime, please disable `make test` from > your build systems. My apologies.
I'm seeing test failures on Debian unstable amd64 with GnuPG 2.0.26; these don't appear to be the same thing, as neither of the reproduction recipes from http://lists.zx2c4.com/pipermail/password-store/2015-January/001337.html exhibits the buggy output for me. Please could you investigate? Here's the failing test output with --verbose: expecting success: oldfile="$SHARNESS_TRASH_DIRECTORY/$RANDOM.$RANDOM.$RANDOM.$RANDOM.$RANDOM" && "$PASS" init group1 && cp "$PASSWORD_STORE_DIR/folder/cred1.gpg" "$oldfile" && "$PASS" init $KEY4 $KEY2 && test_cmp "$PASSWORD_STORE_DIR/folder/cred1.gpg" "$oldfile" Password store initialized for group1 [master 9adeb39] Set GPG id to group1. 1 file changed, 1 insertion(+), 4 deletions(-) gpg: unknown option `show-usage' gpg: invalid list options folder/cred1: reencrypting to [master 1832af7] Reencrypt password store using new GPG id group1. 1 file changed, 0 insertions(+), 0 deletions(-) rewrite folder/cred1.gpg (100%) Password store initialized for E4691410, D774A374 [master 44052c1] Set GPG id to E4691410, D774A374. 1 file changed, 2 insertions(+), 1 deletion(-) gpg: unknown option `show-usage' gpg: invalid list options folder/cred1: reencrypting to [master 47e05b9] Reencrypt password store using new GPG id E4691410, D774A374. 1 file changed, 0 insertions(+), 0 deletions(-) rewrite folder/cred1.gpg (100%) Binary files /home/cjwatson/src/debian/password-store/password-store/tests/trash directory.t0300-reencryption.sh/test-store//folder/cred1.gpg and /home/cjwatson/src/debian/password-store/password-store/tests/trash directory.t0300-reencryption.sh/12755.16082.24540.28913.4228 differ not ok 10 - Reencryption root group to identical individual with no file change # # oldfile="$SHARNESS_TRASH_DIRECTORY/$RANDOM.$RANDOM.$RANDOM.$RANDOM.$RANDOM" && # "$PASS" init group1 && # cp "$PASSWORD_STORE_DIR/folder/cred1.gpg" "$oldfile" && # "$PASS" init $KEY4 $KEY2 && # test_cmp "$PASSWORD_STORE_DIR/folder/cred1.gpg" "$oldfile" # Thanks, -- Colin Watson [[email protected]] _______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
