Skip Menu |

This queue is for tickets about the Net-AS2 CPAN distribution.

Report information
The Basics
Id: 116418
Status: resolved
Priority: 0/
Queue: Net-AS2

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: Unable to load public certificate for encryption
t/20-protocol.t fails with the following message: Unable to load public certificate for encryption: Crypt::SMIME#setPublicKey: failed to load the public cert: error:0906D06C:PEM routines:PEM_read_bio:no start line at /home/cpansand/.cpan/build/2016072312/Net-AS2-0.03-uedYyQ/blib/lib/Net/AS2.pm line 234. at t/20-protocol.t line 151. # Child (Signature required check) exited without calling finalize() # Failed test 'Signature required check' # at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 279. # Looks like you planned 19 tests but ran 13. # Looks like you failed 1 test of 13 run. # Looks like your test exited with 29 just after 13. t/20-protocol.t ..... Dubious, test returned 29 (wstat 7424, 0x1d00) Failed 7/19 subtests
This was due to a memory leak/issue with the underlying Crypt::SMIME library. Newer versions or Crypt::SMIME do not have this issue. For v1.0, the tests have also been split up to avoid the memory leak in earlier perl versions. Andrew On Sat Jul 23 07:16:21 2016, SREZIC wrote: Show quoted text
> t/20-protocol.t fails with the following message: > > Unable to load public certificate for encryption: > Crypt::SMIME#setPublicKey: failed to load the public cert: > error:0906D06C:PEM routines:PEM_read_bio:no start line at > /home/cpansand/.cpan/build/2016072312/Net-AS2-0.03- > uedYyQ/blib/lib/Net/AS2.pm line 234. > at t/20-protocol.t line 151. > # Child (Signature required check) exited without calling > finalize() > > # Failed test 'Signature required check' > # at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line > 279. > # Looks like you planned 19 tests but ran 13. > # Looks like you failed 1 test of 13 run. > # Looks like your test exited with 29 just after 13. > t/20-protocol.t ..... > Dubious, test returned 29 (wstat 7424, 0x1d00) > Failed 7/19 subtests