[users] Requirements for perl-Convert-PEM

Will McDonald wmcdonald at gmail.com
Wed Nov 1 17:23:40 CET 2006


Hi all.

I've been having to mess around with perl-Net-SSH-Perl with pubkey
authentication for one reason or another. A simple. minimal script run
from the command line works successfully but as soon as I integrate
this into even a very simple CGI it starts to error in the logs
with...

[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111] Invalid key
file type 'PEM': Base class package "Class::Error
Handler" is empty.
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111]
(Perhaps you need to 'use' the module which defines that
package first.)
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111]  at
/usr/lib/perl5/vendor_perl/5.8.5/Convert/PEM.pm line 5
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111] BEGIN
failed--compilation aborted at /usr/lib/perl5/vendor_pe
rl/5.8.5/Convert/PEM.pm line 5.
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111] Compilation
failed in require at /usr/lib/perl5/vendor_perl/5
.8.5/Crypt/DSA/Key/PEM.pm line 6.
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111] BEGIN
failed--compilation aborted at /usr/lib/perl5/vendor_pe
rl/5.8.5/Crypt/DSA/Key/PEM.pm line 6.
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111] Compilation
failed in require at (eval 56) line 1.
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111] BEGIN
failed--compilation aborted at (eval 56) line 1.
[Wed Nov 01 16:02:46 2006] [error] [client 192.168.24.111]  at
/usr/lib/perl5/vendor_perl/5.8.5/Net/SSH/Perl/Key/DSA.pm
line 64

Checking line 5 of PEM.pm it's 'use'ing...

use base qw( Class::ErrorHandler );

Does this mean it should be requiring perl-Class-ErrorHandler is its
SPEC? I've installed perl-Class-ErrorHandler and now I'm getting
further (still not working mind, just different errors :)).

Thanks,

Will.

NB: List of perl modules/dependencies installed via Yum with
perl-Net-SSH-Perl...

perl-Math-Pari-2.010706-1.el4.rf
perl-Data-Buffer-0.04-1.2.el4.rf
perl-Compress-Zlib-1.42-1.el4.rf
perl-Class-Loader-2.03-1.2.el4.rf
perl-Crypt-CBC-2.19-1.el4.rf
perl-Crypt-Random-1.25-1.2.el4.rf
perl-Crypt-Primes-0.50-1.2.el4.rf
perl-Convert-ASCII-Armour-1.4-1.2.el4.rf
perl-Tie-EncryptedHash-1.21-1.2.el4.rf
perl-Sort-Versions-1.5-1.2.el4.rf
perl-Convert-ASN1-0.18-3
perl-Crypt-DH-0.06-1.2.el4.rf
perl-Convert-PEM-0.07-1.2.el4.rf
perl-Crypt-DSA-0.14-1.el4.rf
perl-Crypt-IDEA-1.08-1.el4.rf
perl-String-CRC32-1.4-1.el4.rf
perl-Digest-MD2-2.03-1.2.el4.rf
perl-Crypt-RSA-1.57-1.2.el4.rf
perl-Math-GMP-2.04-1.2.el4.rf
perl-Net-SSH-Perl-1.30-2.el4.rf


More information about the users mailing list