Hi,
I’ve installed Data::Encrypted and all its prerequisites via Perl’s MCPAN shell interface properly, however I could not succeed to run sample scripts. Sample script is as follows :
==================================================
#!/usr/local/bin/perl
use strict ;
use warnings ;
use Data::Encrypted (FILE => './secret',
PK => '/export/home/guraye/.ssh/identity.pub',
SK => '/export/home/guraye/.ssh/identity',
PW => q(hedehodo)
), qw(encrypted);
my $password = encrypted('password');
===================================================
The error it returns is :
bash-2.05$ ./test2.pl
Unsupported cipher 'DES3': Can't locate Crypt:
ES3 in @INC (@INC contains: /export/home/guraye/adsl/ip_local_pool/../../../../../lib /export/home/guraye/adsl/ip_local_pool/../../lib /usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.8.7/Crypt/RSA/Key/Private/SSH.pm line 84.
at /usr/local/lib/perl5/site_perl/5.8.7/Data/Encrypted.pm line 78
bash-2.05$
PK and SK files have been created using ssh-keygen utility with adding –t rsa1 option .
I’ve Net::SSH:
erl::Cipher:
ES3 already installed. Furthermore I could not find any module named Crypt:
ES3 in CPAN.
Is there anybody who has an idea why it returns such an error ?
Best Regards
Guray
I’ve installed Data::Encrypted and all its prerequisites via Perl’s MCPAN shell interface properly, however I could not succeed to run sample scripts. Sample script is as follows :
==================================================
#!/usr/local/bin/perl
use strict ;
use warnings ;
use Data::Encrypted (FILE => './secret',
PK => '/export/home/guraye/.ssh/identity.pub',
SK => '/export/home/guraye/.ssh/identity',
PW => q(hedehodo)
), qw(encrypted);
my $password = encrypted('password');
===================================================
The error it returns is :
bash-2.05$ ./test2.pl
Unsupported cipher 'DES3': Can't locate Crypt:
at /usr/local/lib/perl5/site_perl/5.8.7/Data/Encrypted.pm line 78
bash-2.05$
PK and SK files have been created using ssh-keygen utility with adding –t rsa1 option .
I’ve Net::SSH:
Is there anybody who has an idea why it returns such an error ?
Best Regards
Guray