Skip Menu |

This queue is for tickets about the PGP-Sign CPAN distribution.

Report information
The Basics
Id: 121381
Status: resolved
Priority: 0/
Queue: PGP-Sign

People
Owner: RRA [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.20
Fixed in: 1.00



Subject: Tests fail on debian/stretch and debian/sid
On my debian/stretch smoker I see the following failure: ... PERL_DL_NONLAZY=1 "/opt/perl-5.25.12/bin/perl5.25.12" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t gpg: WARNING: unsafe permissions on homedir '/home/cpansand/.cpan/build/2017042521/PGP-Sign-0.20-0/./data' gpg: starting migration from earlier GnuPG versions gpg: porting secret keys from '/home/cpansand/.cpan/build/2017042521/PGP-Sign-0.20-0/./data/secring.gpg' to gpg-agent gpg: key E842D6492BE1E05A: secret key imported gpg: WARNING: key E842D6492BE1E05A contains preferences for unavailable algorithms on these user IDs: gpg: "testing": preference for digest algorithm TIGER192 gpg: it is strongly suggested that you update your preferences and gpg: re-distribute this key to avoid potential algorithm mismatch problems gpg: you can update your preferences with: gpg --edit-key E842D6492BE1E05A updpref save gpg: migration succeeded gpg: signing failed: Inappropriate ioctl for device gpg: signing failed: Inappropriate ioctl for device /usr/bin/gpg returned exit status 512 t/basic.t ... Failed 8/14 subtests (less 2 skipped subtests: 4 okay) gpg: WARNING: unsafe permissions on homedir '/home/cpansand/.cpan/build/2017042521/PGP-Sign-0.20-0/./data' gpg: signing failed: Inappropriate ioctl for device gpg: signing failed: Inappropriate ioctl for device /usr/bin/gpg returned exit status 512 t/locale.t .. Failed 2/7 subtests (less 1 skipped subtest: 4 okay) ... The same error happens also on Andreas Koenig's smoker (which is debian/sid AFAIK). An overview of test reports: http://matrix.cpantesters.org/?dist=PGP-Sign%200.20;os=linux;reports=1#sl=2,1
Subject: Re: [rt.cpan.org #121381] Tests fail on debian/stretch and debian/sid
Date: Tue, 25 Apr 2017 15:16:46 -0700
To: "Slaven_Rezic via RT" <bug-PGP-Sign [...] rt.cpan.org>
From: Russ Allbery <rra [...] cpan.org>
"Slaven_Rezic via RT" <bug-PGP-Sign@rt.cpan.org> writes: Show quoted text
> On my debian/stretch smoker I see the following failure:
Yeah, the tests were all written for a much, much different era of PGP, and GnuPG v2 pretty much breaks them completely. None of the test keys are really new enough for GnuPG v2 to work properly. Basically, the tests need to be completely rewritten. I'm not sure when I'll have time to do that. :( -- #!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker $^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD, 00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{ rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print
This should now be fixed in PGP::Sign 1.00, which has just been released. It adds support for GnuPG v2 and makes it the default.