Subject: | Net::SSH::Perl::Key::DSA: $key->{datafellows} not initialized when key is constructed with extract_public |
Date: | Thu, 24 Mar 2011 13:20:06 +0100 |
To: | bug-Net-SSH-Perl [...] rt.cpan.org |
From: | Konrad Bucheli <kb [...] open.ch> |
Hi
I created a Net::SSH::Perl::Key::DSA object by loading the public key
file. When I now try to verify a signature, it breaks with:
Can't use an undefined value as a SCALAR reference at
/usr/local/share/perl/5.10.1/Net/SSH/Perl/Key/DSA.pm line 113.
Workaround:
my $dummy;
$key->{datafellows} = \$dummy;
I am using Net-SSH-Perl v1.34 and perl v5.10.1 and Ubunutu 10.10 with
kernel 2.6.35-28-generic.
Thanks
Konrad