New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't locate loadable object for module Crypt::OpenSSH::ChachaPoly in @INC #53
Comments
On Thu Jun 16 20:33:01 2016, bracdt@gmail.com wrote:
Thanks for your report. I once uploaded lkinley's version to CPAN but it made Net::SSH::Perl fail (in the tests IIRC). So I removed it again because I don't really have knowledge on the topic itself and couldn't rank the impact. You could try http://renormalist.net/misc/Crypt-OpenSSH-ChachaPoly-0.02.tar.gz which is the tgz I built back then 2016-05-09 from https://github.com/renormalist/Crypt-OpenSSH-ChachaPoly and report here if that helps you. In my case it did not. If you have time to dive deeper into it it would help if you can provide details, patches, etc. In particular, lkinley also seems to have a new version 2.04 in his github repo which I didn't yet uploaded to CPAN but should probably do (lkinley's repo just lacks some CPAN polishing which I usually contribute). However locally it could be installable for you with some perl Makefile.PL; make; make test; make install. I hope that helps you a bit further. Kind regards, |
Thanks much for rapid response. Until it can be added back to CPAN, it seems like the attempt to load Crypt::OpenSSH::ChachaPoly should be removed, or code should be adjusted so fallback works.
manually installed from git (https://github.com/renormalist/Crypt-OpenSSH-ChachaPoly) on my osx10.11.5 mac
unfortunately a new error now:
|
I just re-uploaded Crypt::OpenSSH::ChachaPoly to CPAN. Kind regards, |
I just created on lkinley's github repository because he is doing his current work there. Thanks for your report. Kind regards, |
Hi, can you please try if the just uploaded v2.12 fixes this issue? As I'm just doing the CPAN uploads based on Lance Kinley's work at https://github.com/lkinley/Net-SSH-Perl I need your help on verifying this. Thanks, |
This ticket was imported from rt.cpan.org 115382
Hello,
My program is unable to open a Net::SFTP connection because
Net::SSH::Perl::Cipher::Chacha tries to load Crypt::OpenSSH::ChachaPoly,
which doesn't seem to exist within CPAN, and fallback to other ciphers is
not happening.
[someone@box ~]$ /tmp/temp-test-deleteme.pl
"Net::SSH::Perl::Cipher::Chacha provides Chacha20 encryption with Poly1305
support for Net::SSH::Perl.
"This module requires Crypt::OpenSSH::ChachaPoly which provides a wrapper
to the OpenSSH Chacha and Poly1305 functions."
http://search.cpan.org/dist/Net-SSH-Perl/lib/Net/SSH/Perl/Cipher/ChachaPoly.pm
view
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Net/SSH/Perl/Cipher/ChachaPoly.pm
After some googling I did find this github:
https://github.com/lkinley/Crypt-OpenSSH-ChachaPoly
This commit:
renormalist/Net-SSH-Perl@12ec269
states:
+The module Crypt::OpenSSH::ChachaPoly is required if
+you wish to use the chacha20-poly1305@openssh.com cipher.
+It can be acquired from Git Hub at:
+https://github.com/lkinley/Crypt-OpenSSH-ChachaPoly
+or using git:
+git clone https://github.com/lkinley/Crypt-OpenSSH-ChachaPoly.git
+If the module is not installed, Net::SSH::Perl will fall back on
+other ciphers.
But successfulf fallback does not appear to be happening. I'm on a box
where installing modules from outside CPAN is frowned upon, can you advise?
Thanks.
The text was updated successfully, but these errors were encountered: