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

cannot find cipher #54

Open briandfoy opened 1 year ago

briandfoy commented 1 year ago

This ticket was imported from rt.cpan.org 115669

Connecting to a server by ssh, the module says:

No matching cipher found: client chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr server aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se at ~/perl5/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/x86_64-linux/Net/SSH/Perl/SSH2.pm line 118.

It seems the client(module) can't see cbc ciphers, though they are part of the distribution, e.g.: Net::SSH::Perl::Cipher::AES128_CBC

I can connect from a command line.

briandfoy commented 1 year ago

from schwigon@cpan.org


Do any of the hints in https://rt.cpan.org/Ticket/Display.html?id=115382 help you in some way? It's the only thing I currently can contribute. And I'm on vacation the next weeks...

Kind regards, Steffen

briandfoy commented 1 year ago

from raherh@gmail.com


I tried to install lkinley's 2.04 distribution. t/05-cipher.t says: The key must be 128 or 256 bits long at blib/lib/Net/SSH/Perl/Cipher/ChachaPoly.pm line 39.

Also installed Crypt-OpenSSH-ChachaPoly-0.02.tar.gz, unfortunately with no impact.

Radek

briandfoy commented 1 year ago

from schwigon@cpan.org


I just created

https://github.com/lkinley/Net-SSH-Perl/issues/5

on lkinley's github repository because he is doing his current work there. Unless I mixed up things, that ticket should be related to this RT ticket here. Feel free to watch progress there or follow up on questions.

Thanks for your report.

Kind regards, Steffen

briandfoy commented 1 year ago

from schwigon@cpan.org


Hi,

is this issue gone with the just uploaded v2.12?

Kind regards, Steffen