briandfoy / net-ssh-perl

Development on the Net::SSH::Perl module to support latest ciphers, key exchange mechanisms, etc.
Other
4 stars 1 forks source link

Net::SSH::Perl::Key::DSA: $key->{datafellows} not initialized when key is constructed with extract_public #34

Open briandfoy opened 1 year ago

briandfoy commented 1 year ago

This ticket was imported from rt.cpan.org 66855

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