A. Farber said:
afarber@ablsw01:~> ~/yapassgen.pl
File is not a perl storable at ../../lib/Storable.pm (autosplit
into ../../lib/auto/Storable/_retrieve.al) line 331, at /home/afarber/
perl/lib/perl5/site_perl/5.8.8/Crypt/YAPassGen.pm line 91
my $passgen = Crypt::YAPassGen->new(
freq => '/usr/share/dict/linux.words',
length => 10,
post_subs => [sub { $_ = uc }, "digits"],
);
The docs say:
freq => '/path_to_american-english_default_freq_file.dat',
So, judging by that file extension, you're using thewrong kind of file.
Also, I don't see how a word list could be interpreted as " frequency
database".
Well, there's this entry in the docs a bit further downn:
my $freq = Crypt::YAPassGen->make_freq($dict_file, $freq_file, $ascii)
This class method will generate a new frequency file reading from
$dict_file and writing the result in $freq_file.
Well, there you have it... you have to generate that freq file from your
wordlist file, first.